Fix handling of apos in URIs François Delyon <f.delyon@satimage.fr> pointed out a divergence between the URI code and RFC 3986, fix trivial and seems to not break regression tests