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 
We should also assert that things are properly handled with both `url` and `ssh_url`.