PHP-class to make HTTP-requests through cURL extension