Added websocket scope listener protocol check