Response response = new Response();
response.read(_in);
_logger.fine("Got proxy response " + response.getStatusLine());
status = response.getStatus();
if (status.equals("407")) {
response.flushContentStream();
oldAuthHeader = authHeader;
String[] challenges = response.getHeaders("Proxy-Authenticate");
if (_proxyAuthCreds == null && _authenticator != null)
_proxyAuthCreds = _authenticator.getProxyCredentials(_httpsProxy, challenges);
if (_proxyAuthCreds == null) {