The https connection should not be closed if there is no proxy-authorization header because the client sends the first CONNECT request without a proxy-authorization header, then receives the status code 407 in response and only then sends the CONNECT request together with the proxy-authorization header.
The https connection should not be closed if there is no proxy-authorization header because the client sends the first CONNECT request without a proxy-authorization header, then receives the status code 407 in response and only then sends the CONNECT request together with the proxy-authorization header.