docs: private void copyHeadersToClient(HttpURLConnection pRemoteConnection, HttpServletResponse pResponse) {
          // NOTE: There is no getHeaderFieldCount method or similar...
          // Also, the getHeaderFields() method was introduced in J2SE 1.4, and
          // we want to be 1.2 compatible.
          // So, just try to loop until there are no more headers.
          int i = 0;
          while (true) {
              String key = pRemoteConnection.getHeaderFieldKey(i);
              // NOTE: getHeaderField(String) returns only the last value
              String value = pRemoteConnection.getHeaderField(i);
  
              // If the key is not null, life is simple, and Sun is shining
              // However, the default implementations includes the HTTP response
              // code ("HTTP/1.1 200 Ok" or similar) as a header field with
              // key "null" (why..?)...
              // In addition, we want to skip the original "Server" header
              if (key != null && !HTTP_RESPONSE_HEADER_SERVER.equalsIgnoreCase(key)) {
                  //System.out.println("client <<<-- remote: " + key + ": " + value);
                  pResponse.setHeader(key, value);
              }
              else if (value == null) {
                  // If BOTH key and value is null, there are no more header fields
                  break;
              }
  
              i++;
          }
  
          /* 1.4+ version below....
          Map headers = pRemoteConnection.getHeaderFields();
          for (Iterator iterator = headers.entrySet().iterator(); iterator.hasNext();) {
              Map.Entry header = (Map.Entry) iterator.next();
  
              List values = (List) header.getValue();
  
              for (Iterator valueIter = values.iterator(); valueIter.hasNext();) {
                  String value = (String) valueIter.next();
                  String key = (String) header.getKey();
  
                  // Skip the server header
                  if (HTTP_RESPONSE_HEADER_SERVER.equalsIgnoreCase(key)) {
                      key = null;
                  }
  
                  // The default implementations includes the HTTP response code
                  // ("HTTP/1.1 200 Ok" or similar) as a header field with
                  // key "null" (why..?)...
                  if (key != null) {
                      //System.out.println("client <<<-- remote: " + key + ": " + value);
                      pResponse.setHeader(key, value);
                  }
              }
          }
          */
      }