Added SocketUtils class