Neat and tidy cURL wrapper