Finally implemented urlEncode/urlDecode optimization (took just like a year...).
Added one test case.