Fixed buffer overflow in HttpReq::encodeUrl.

I believe the character in the URL string was being read as a signed char instead of an unsigned char which caused weirdness with Unicode characters.