Add socket.io ".on" like handler style