A helper module for Server-Sent Events