Protobuf serialization of cluster messages. See #1910