Better logging of unknown WS frames.
Sending of WS ping frames.

No browser initiates sending of ping frames according to https://en.wikipedia.org/wiki/Comparison_of_WebSocket_implementations
This is inline with observations I've seen as well.
And with no ping/pong heartbeats being sent, TCP connections tend to die quite quickly over public internet.