``` if (url.find("wss://") == 0) client = tls_client else if (url.find("ws://") == 0) client = no_tls_client ```