Adding 401 Unauthorized error in response to the CONNECT if the handshake to the web server failed.