Add keep-alive WebSocket ping on client-side to prevent Heroku crashes