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