Add unit tests for NTLM proxy authentication. Notify failed connection if the proxy or the server close the connection before completing the authentication or upgrade handshake.