Added URL parsing to URLEncode. Now it can parse a full absolute URL correctly.