Migrated message-relay protocol implementation to protobuf
Better approach to sequence counters

New class SequenceCounter with three global instances;
SequenceCounter::get() atomically returns a new sequence number.