diff --git a/INSTALL.txt b/INSTALL.txt
index d6af71e..e91568f 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -1,11 +1,16 @@
+Enable the module.
 
 To use Stage File Proxy, you must add variables to $conf in settings.php:
 
 REQUIRED:
+=========
+
 $conf['stage_file_proxy_origin'] = 'http://example.com'; // no trailing slash
 
-OPTIONAL:
+The origin website.
 
+OPTIONAL
+========
 $conf['stage_file_proxy_use_imagecache_root'] = TRUE;
 
 Default is TRUE.
@@ -33,7 +38,17 @@ files. This is useful for multisite installations where the sites directory
 contains different names for each url. If this is not set, it defaults to the
 same path as the local site (sites/default/files).
 
-DRUSH USERS:
+$conf['stage_file_proxy_sslversion'] = 3;
+
+Default is 3.
+
+CURL will try to figure out which ssl version to use, but if it fails to do that
+properly it can lead to getting an empty file and a 0 status code. The default is
+3 which seems relatively common, but if you get 0 byte files you can try changing
+it to 2.
+
+DRUSH USERS
+===========
 
 To automatically enable stage_file_proxy on your dev machine after sql-sync,
 add the following to your dev site alias file:
diff --git a/stage_file_proxy.module b/stage_file_proxy.module
index dc1e37d..7b528f6 100644
--- a/stage_file_proxy.module
+++ b/stage_file_proxy.module
@@ -5,7 +5,6 @@
  * version.
  */
 function stage_file_proxy_init() {
-
   // Make sure we're requesting a file in the files dir
   // Currently this only works for PUBLIC files
   $file_dir = _stage_file_proxy_file_dir();
@@ -68,9 +67,10 @@ function _stage_file_proxy_fetch($server, $remote_file_dir, $relative_path) {
   $ch = curl_init($url);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
+  curl_setopt($ch, CURLOPT_SSLVERSION, variable_get('stage_file_proxy_sslversion', 3));
   curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15');
   $res = curl_exec($ch);
-  if (curl_getinfo($ch, CURLINFO_HTTP_CODE) < 300) {
+  if (curl_getinfo($ch, CURLINFO_HTTP_CODE) == 200) {
     file_put_contents($file_dir . '/' . $relative_path, $res);
     return TRUE;
   }
