reworked networking with Sockets