You're not really supposed to, unless you're uber familiar with Victorian medicine (I certainly didn't until after I saw the movie). But it was a nod to Canon in a subtle way. Holmes uses both morphine and cocaine (his famed seven-percent-solution) occasionally, neither of which were illegal at the time (although Watson is not fond of the "vices" and eventually weans Holmes from them).
no subject