Add support for server-side events