Bug 22474, urlencode now takes a parameter to change escaping style