Allow using either HTTPS or SSH urls

Haven't been able to test because of 404s on the mock-res dependency, so
this probably doesn't work in its current state

refs #1 
Thanks.  This normally would be a fine dependency to add.  `npm` makes it very easy to manage these.  But I was anticipating some resistance deploying this where dependencies weren't already managed this way.