C++ wrapper for unix tcp socket.