Binary safe

Support for our new binary safe protocol.