If we are using Negotiate, POST requests with a body may fail with ERROR_WINHTTP_RESEND_REQUEST.
We first send a zero-length request to get a 401 without writing the body twice.