A C++ wrapper library to the sockets