A custom edition of Protobuf-net's protogen, fix some bugs and make it easier use.