Just adds a listener to the socket.