Add support for both HTTPS and SSH remote URIs.

Previously only supported SSH remote URIs, now added HTTPS.