wrapper library around the JavaScript EventSource API to ensure it maintains a connection to the server.