Added new socket.io version and attached to the server a socket listener