Started implementing sockets