code: protected void customizeConnection(String pathInContext, String pathParams, HttpRequest request, Socket socket) throws IOException
      {
      }
docs: Customize proxy Socket connection for CONNECT. Method to allow derived handlers to customize
  the tunnel sockets.