Implements Server Sent Events.