C++-based socket library for school purposes