The http url function now supports encode.

The encode* options is now supported by the utils_http:url function.
The encode_k and encode_v are renamed to encode_key and encode_value
accordingly.