URLEncode, and support for spaces