Reliable Data Transport Protocol in C++