HTTPCLIENT-1531: CONNECT via proxy fails if authentication is disabled