replaced Curl library at http.php