code: private static void excludeForwardedHeaders(HttpConnectSession connectSession) {
          connectSession.clearWriteHeaders(HEADER_FORWARDED);
          connectSession.clearWriteHeaders(HEADER_X_FORWARDED_FOR);
          connectSession.clearWriteHeaders(HEADER_X_FORWARDED_SERVER);
          connectSession.clearWriteHeaders(HEADER_X_FORWARDED_HOST);
          connectSession.clearWriteHeaders(HEADER_X_FORWARDED_PROTO);
      }
docs: Remove the Forwarded headers from the connect session if the 'use-forwarded' property for the http.proxy type is
  set to 'exclude'.
  
  @param connectSession