docs: protected void registerNativeAlpn(SSLEngine engine) {
          if (isNativeAlpnActive()) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "registerNativeAlpn entry " + engine);
              }
              try {
                  String[] protocols = new String[] { h2, h1 };
                  SSLParameters params = engine.getSSLParameters();
                  nativeAlpnPut.invoke(params, (Object) protocols);
                  engine.setSSLParameters(params);
                  Method m = SSLParameters.class.getMethod("getApplicationProtocols");
  
              } catch (InvocationTargetException ie) {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "registerNativeAlpn exception: " + ie.getTargetException());
                  }
              } catch (Exception e) {
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "registerNativeAlpn exception: " + e);
                  }
              }
          }
      }