Urlencode with curl.

Obsoletes perl, saves some miliseconds.