Added fallback to file_get_contents when cURL extension is not available