Update secure websocket discovery mechanism