docs: private static boolean isConnectionUpgrade(HttpMethod method) {
          Header connectionHeader = method.getRequestHeader("connection");
          if (connectionHeader == null) {
              return false;
          }
          return connectionHeader.getValue().toLowerCase(Locale.ROOT).contains("upgrade");
      }