adopting websocket connector to run with chrome plus fixing buildissue