code: private void init(PathImpl path)
    {
      _contentLength = -1;
      _isChunked = false;
      _isRequestDone = false;
      _didGet = false;
      _isPost = false;
      _isHead = false;
      _method = null;
      _attributes.clear();
      
      //setPath(path);
  
      if (path instanceof HttpPath)
        _virtualHost = ((HttpPath) path).getVirtualHost();
    }
docs: Initializes the stream for the next request.