docs: private void clearSessionCache(final SSLSessionContext sessionContext, final InetSocketAddress remoteAddress) {
          final String hostName = remoteAddress.getHostName();
          final int port = remoteAddress.getPort();
          final Enumeration<byte[]> ids = sessionContext.getIds();
  
          if (ids == null) {
              return;
          }
  
          while (ids.hasMoreElements()) {
              final byte[] id = ids.nextElement();
              final SSLSession session = sessionContext.getSession(id);
              if (session != null && session.getPeerHost() != null && session.getPeerHost().equalsIgnoreCase(hostName)
                      && session.getPeerPort() == port) {
                  session.invalidate();
                  if (LOG.isDebugEnabled()) {
                      LOG.debug("Invalidated session " + session);
                  }
              }
          }
      }