ability to pass in http:// or https:// protocol

this is part of fixing #2

the new registry endpoints are https only (http://blog.npmjs.org/post/75707294465/new-npm-registry-architecture)

but npm-publish-stream was hardcoded for http before. this makes it option-able