Index: wp-includes/http.php
===================================================================
--- wp-includes/http.php	(revision 12718)
+++ wp-includes/http.php	(working copy)
@@ -1069,6 +1069,14 @@
 				return false;
 		}
 
+		// --with-curlwrappers is extremely buggy, see #11888
+		ob_start();
+		phpinfo(1);
+		$info = ob_get_contents();
+		ob_end_clean();
+		if ( strpos($info, '--with-curlwrappers') !== false )
+			return false;
+
 		return apply_filters('use_streams_transport', true, $args);
 	}
 }
