Disable SSL peer verification when using fopen, to be consistent with cURL