code: private Map<String, Object> getConnectionInfo() {
          String[] hostnames = (String[]) props.get(HOST_NAMES);
          int[] ports = (int[]) props.get(PORTS);
  
          String hostname = (hostnames == null || hostnames.length < 1) ? null : hostnames[0];
          String port = (ports == null || ports.length < 1) ? null : String.valueOf(ports[0]);
  
          return sslHelper.getConnectionInfo(hostname, port);
      }
docs: Gets the Map of connection information (direction, host, port) from the SSLHelper class
  
  @return connection information Map