Encode package:protobuf

Encode a Protocol Buffers message prefixed with a varint encoded 32-bit integer describing its length.
Encode a Protocol Buffers message.