Fix https clone, and support http also.
Merge pull request #2 from killfill/master

Fix https clone, and support http also.