TYRUS-334: When connection is closed by a peer, periodic heartbeat pong is not stopped
minor correction - using equals instead of == when comparing java.lang.Class.
Removing references to deprecated "Sec-WebSocket-Origin" header.

(we are not supporting older websocket drafts any more).