code: private static String coerceFromHttpsForComparison(String u) {
          if (u.startsWith("https://")) {
              u = "http" + u.substring("https".length());
          }
          return u;
      }
docs: For SURT comparisons -- prefixes or candidates being checked against
  those prefixes -- we treat https URIs as if they were http.
  
  @param u string to coerce if it has https scheme
  @return string converted to http scheme, or original if not necessary