group classes for working with sockets