docs: private boolean isRecursive(HttpRequestHeader header) {
          try {
              if (header.getHostPort() == inSocket.getLocalPort()) {
                  String targetDomain = header.getHostName();
                  if (API.API_DOMAIN.equals(targetDomain)) {
                      return true;
                  }
  
                  if (isProxyAddress(InetAddress.getByName(targetDomain))) {
                      return true;
                  }
              }
          } catch (Exception e) {
  			// ZAP: Log exceptions
  			log.warn(e.getMessage(), e);
          }
          return false;
      }