@Override
  public final List<SNIServerName> getRequestedServerNames() {
      String requestedServerName = delegate.getRequestedServerName();
      if (requestedServerName == null) {
        return Collections.emptyList();
      }

      return Collections.singletonList((SNIServerName) new SNIHostName(requestedServerName));
  }
This is an adapter that wraps the active session with {@link ExtendedSSLSession}, if running
on Java 8+.
common/src/main/java/org/conscrypt/Java8ExtendedSSLSession.java