quick fix in Curl.php class
unused code cleaned up