WebSocket: fixed linter errors