add cURL support