A C++ wrapper for POSIX sockets