Use curl's --data-urlencode, closes #8