implement a simple binary protocol.