add openssl version hack to fetch_file_contents()