Comments for websocket connect function keep-alive scope hack.