Function encode_uri_char does not hex encode unreserved chars (RFC 2396