private void enableConscryptEngineAlpn(SSLEngine sslEngine) throws NoSuchMethodException, IllegalAccessException,
            InvocationTargetException {
        Method setAlpnProtocolsMethod = sslEngine.getClass().getDeclaredMethod(
                "setAlpnProtocols", String[].class);
        setAlpnProtocolsMethod.setAccessible(true);
        String[] protocols = {mSelectedAlpnProtocol.toString().toLowerCase()};
        setAlpnProtocolsMethod.invoke(sslEngine, new Object[]{protocols});
    }
Http request ssl codec enables Application-Layer Protocol Negotiation(ALPN).

See http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04#page-4

@author Megatron King
@since 2019/1/3 23:01
netbare-core/src/main/java/com/github/megatronking/netbare/http/HttpSSLRequestCodec.java