private void enableConscryptEngineAlpn() throws NoSuchMethodException, IllegalAccessException,
            InvocationTargetException {
        Method setAlpnProtocolsMethod = mSSLEngine.getClass().getDeclaredMethod(
                "setAlpnProtocols", String[].class);
        setAlpnProtocolsMethod.setAccessible(true);
        String[] protocols = new String[mClientAlpns.length];
        for (int i = 0; i < protocols.length; i++) {
            protocols[i] = mClientAlpns[i].toString().toLowerCase();
        }
        setAlpnProtocolsMethod.invoke(mSSLEngine, new Object[]{protocols});

        Method setUseSessionTicketsMethod = mSSLEngine.getClass().getDeclaredMethod(
                "setUseSessionTickets", boolean.class);
        setUseSessionTicketsMethod.setAccessible(true);
        setUseSessionTicketsMethod.invoke(mSSLEngine, true);
    }
Http 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:31
netbare-core/src/main/java/com/github/megatronking/netbare/http/HttpSSLResponseCodec.java