Demo (echo server): Fix event handler with new event loop.