Closes #307 (EventWebSocket closes when idle)

Approach is to send a keepalive message every second from the server to the client containing an empty JSON document ("{}").