Some clean up to make life easy.

Rename Listener to WebSocketListener, add websocket subprotocol headers,
check if client socket is connected.