Add socket.io output mechanism