client.getOutputStream().write(("HTTP/1.0 404 NOT FOUND\r\n\r\n").getBytes());
client.close();
return;
}
client.getOutputStream().write(("HTTP/1.0 200 OK\r\n\r\n").getBytes());
SSLSocket sslSocket = new SSLHelper().convertToSecureServerSocket(client,
requestFromBrowser.host());
ProxyProcessor delegatedProcessor = new ProxyProcessor(sslSocket);
delegatedProcessor.run();
} catch (IOException e) {
try {