A thin wrapper around the BSD socket API for C++