Url encode url vars