// shall we act as server side and answer to the handshake request?
else
{
receiverHeader = new ConnectionHeader( channel, host, header.isClient() );
// the HTTP header must contain the eight header bits in the requested URI
receiverHeader.fromString( ((HttpRequestParser) parser).getUri() );
// does the http header overwrite the compression setting?
receiverHeader.setCompression( header.hasCompression() && parser.hasCompression() );
// does the http header overwrite the setting for using a persistent connection?