cURL wrapper totally reimagined