Protobuf transport and tests for it