Adding heartbeat support for SockJS WebSocket transport.