code: public void handle(InputStream in, OutputStream out)
      {
          Copy copy= new Copy();
          _in= in;
          _out= out;
          try
          {
              _thread= Thread.currentThread();
              copy.start();
  
              copydata(_sIn, _out);
          }
          catch (Exception e)
          {
              LogSupport.ignore(log, e);
          }
          finally
          {
              try
              {
                  _in.close();
                  if (_socket!=null)
                  {
                      _socket.shutdownOutput();
                      _socket.close();
                  }
                  else
                  {
                      _sIn.close();
                      _sOut.close();
                  }
              }
              catch (Exception e)
              {
                  LogSupport.ignore(log, e);
              }
              copy.interrupt();
          }
      }
docs: handle method.
  This method is called by the HttpConnection.handleNext() method if
  this HttpTunnel has been set on that connection.
  The default implementation of this method copies between the HTTP
  socket and the socket passed in the constructor.
  @param in
  @param out