cURL library wrapper