Adds handling of HTTP events.
Adds event handling through SSE.