added curl to the constructor

curl + http keep-alive is faster and more reliable;
@TODO replace file_get_contents by curl_exec