fix up the bzip2 frame compressor a bit
allow protocol configuration to extend message channel handshake