cURL wrapper class for plug-n-play restful interfaces