update remote URL fetching using curl, if pear module is not available. cURL is more common now.