relay message event from irc to socket.io