Streamline url-parsing logic.
Clarify parsing issues and errors
Use http_parser_parse_url to parse urls
Unescape url-encoded usernames and passwords
Compile HTTP parser on win32 (for url parsing)
Fix ssh.c compile
Incorporate feedback
Remove unnecessary check
Make url decoding more bulletproof
Merge pull request #1936 from libgit2/better-url-parsing

Streamline url-parsing logic.