Index: hotfix.php
===================================================================
--- hotfix.php	(revision 794219)
+++ hotfix.php	(working copy)
@@ -11,13 +11,16 @@
 WP_Hotfix_Controller::init();
 
 class WP_Hotfix_Controller {
+	const DB_VERSION = 2;
+
 	public static function init() {
 		add_action( 'init', 'wp_hotfix_init' );
 		register_activation_hook(   __FILE__, array( __CLASS__, 'activate'   ) );
 		register_deactivation_hook( __FILE__, array( __CLASS__, 'deactivate' ) );
+		add_action( 'admin_init', array( __CLASS__, 'upgrade' ) );
 	}
 	public static function activate() {
-		add_option( 'hotfix_version', '1' );
+		add_option( 'hotfix_version', self::DB_VERSION );
 		register_uninstall_hook( __FILE__, array( __CLASS__, 'uninstall' ) );
 	}
 	public static function deactivate() {
@@ -26,6 +29,18 @@
 	public static function uninstall() {
 		self::deactivate(); // The same, for now
 	}
+	public static function upgrade() {
+		$current_db_version = get_option( 'hotfix_version' );
+		if ( self::DB_VERSION == $current_db_version )
+			return;
+
+		if ( $current_db_version < 2 ) {
+			$block_ssl_requests = wp_http_supports( array( 'ssl' ) ) && is_wp_error( wp_remote_get( 'https://api.wordpress.org/' ) );
+			update_option( 'hotfix_370_block_ssl_requests', $block_ssl_requests );
+		}
+
+		update_option( 'hotfix_version', self::DB_VERSION );
+	}
 }
 
 function wp_hotfix_init() {
@@ -34,6 +49,9 @@
 	$hotfixes = array();
 
 	switch ( $wp_version ) {
+		case '3.7' :
+			$hotfixes = array( '370_http_ssl_support' );
+			break;
 		case '3.5' :
 			$hotfixes = array( '350_twentytwelve', '350_iis_http_failure' );
 			break;
@@ -238,3 +256,14 @@
 		return $temp;
 	return false;
 }
+
+function wp_hotfix_370_http_ssl_support() {
+	add_filter( 'use_curl_transport', 'wp_hotfix_370_ssl_not_supported', 10, 2 );
+	add_filter( 'use_streams_transport', 'wp_hotfix_370_ssl_not_supported', 10, 2 );
+}
+
+function wp_hotfix_370_ssl_not_supported( $test, $args ) {
+    if ( get_option( 'hotfix_370_block_ssl_requests' ) && ! empty( $args['ssl'] ) )
+        return false;
+    return $test;
+}
