public static SSLSession wrapSSLSession(ExternalSession sslSession) {
        if (Build.VERSION.SDK_INT >= 24) {
            return new Java8ExtendedSSLSession(sslSession);
        }

        return sslSession;
    }
Provides extended capabilities for the session if supported by the platform.
android/src/main/java/org/conscrypt/Platform.java