code: public static String escapePath(final String path, final boolean strict) {
          return (strict ? STRICT_ESCAPER : ESCAPER).escapePath(path);
      }
docs: Escapes a string as a URI path
  
  @param path the path to escape
  @param strict whether or not to do strict escaping
  @return the escaped string