public static void setApplicationProtocolSelector(SSLSocket socket,
        ApplicationProtocolSelector selector) {
        toConscrypt(socket).setApplicationProtocolSelector(selector);
    }
Sets an application-provided ALPN protocol selector. If provided, this will override
the list of protocols set by {@link #setApplicationProtocols(SSLSocket, String[])}.

@param socket the socket
@param selector the ALPN protocol selector
common/src/main/java/org/conscrypt/Conscrypt.java