server-to-server event emitter wire protocol