cURL fix for issue #453