Unify use of URI::Escape (opt for XS everywhere)

//cc @mwmiller @mintsoft