C++ classes for Sockets Linux/windows