Server-to-server event emitter with session support