Curl cpp wrapper