Migrate redirect URL handling to common utility
Refactor URL handling to use library call
Deploy gitno_connection_data into transport
Deploy gitno_connection_data into transport (winhttp)

...and have that call manage replaced memory in the output structure.
Adjust to new utility signature
Make sure utility doesn't leak memory
WHOOPS
Tighten up url-connection utility
Merge pull request #1879 from libgit2/redir-refactor

Redir refactor