php cURL class for easy use