Added URL encoding helper.