cURL fix for issue #453
Merge pull request #477 from panique/patch-curl-fix

cURL fix for issue #453