code: protected void parse()
  	throws IOException {
  
  	String line;
  	line = _reader.readLine();
  	if (logger.isTraceEnabled()) {
  	    logger.trace(line);
  	}
  	parseHead(line);
  
  	while ( (line = _reader.readLine()).length() != 0 ) {
  	    if (logger.isTraceEnabled()) {
  		logger.trace(line);
  	    }
  
  	    if (line.startsWith(HTTPProtocol.CONNECTION)) {
  		_connection = getRest(line, HTTPProtocol.CONNECTION.length());
  	    } else if (line.startsWith(HTTPProtocol.SERVER)) {
  		_server = getRest(line, HTTPProtocol.SERVER.length());
  	    } else if (line.startsWith(HTTPProtocol.CONTENT_TYPE)) {
  		_contentType = getRest(line, HTTPProtocol.CONTENT_TYPE.length());
  	    } else if (line.startsWith(HTTPProtocol.CONTENT_LENGTH)) {
  		_contentLength = Long.parseLong(getRest(line,
  							HTTPProtocol.CONTENT_LENGTH.length()));
  	    } else if (line.startsWith(HTTPProtocol.HOST)){
  		_host = getRest(line, HTTPProtocol.HOST.length());
  	    } else if (line.startsWith(HTTPProtocol.CHUNKED)) {
  		_chunked = true;
  	    }
  
  	}
      }
docs: Parses the typical HTTP header.
  @exception IOException if a connection fails or bad/incomplete request