A C++ network service framework