The Ns_EncodeUrl function encodes the data as URL query data and appends the encoded data to the given Ns_DString. All characters except the alphanumerics and the characters $-.+!*'(), are encoded as specified in RFC1738, Uniform Resource Locators. This function can be used to append arguments to a URL as query data following a `?'.