Win32: handle http->https redirects
Merge pull request #1877 from libgit2/win32-redirects

Win32: handle http->https redirects