Using ws-specific flags to indicate websocket connection