Added initial EventSource (push notifications) support to html client