Add support for git+http and git+https