Clone of http://code.google.com/p/protobuf-net/