Allow emitting to socket.io from an external process