Helper for Server-Sent Events