Implement conversion to Protobuf, letting non-Rust clients use this library.
WIP specification can be found here.