Add tests for badly-formed URLs
Prevent segfault with a badly-formed URL
Test another bad URL
Prevent another segfault from bad URL
Merge pull request #1928 from libgit2/parse-bad-urls

Improve bad URL handling
Fix warning on win64