A simple C++ network event loop library