Talk:pipe dream

Does anyone know the origin of this term? Why pipe?
 * See the article now, opium smoking.