Protobuf message additions

Yokozuna plus datatypes plus security. Ready for review AFAICT.