diff --git a/import.inc b/import.inc
index 0a75dc8..f003ae8 100644
--- a/import.inc
+++ b/import.inc
@@ -14,10 +14,15 @@ function _browscap_import($cron = TRUE) {
   // Check the local browscap data version number
   $local_version = variable_get('browscap_version', 0);
 
-  // Retrieve the current browscap data version number
-  $current_version = drupal_http_request('http://browsers.garykeith.com/versions/version-number.asp');
+  // Retrieve the current browscap data version number using HTTPS
+  $current_version = drupal_http_request('https://browsers.garykeith.com/versions/version-number.asp');
 
-  // Log an error if the browscap version number could not be checked
+  // If the version number could not be checked using HTTPS, try HTTP
+  if (isset($current_version->error)) {
+    $current_version = drupal_http_request('http://browsers.garykeith.com/versions/version-number.asp');
+  }
+
+  // Log an error if the browscap version number could not be retrieved
   if (isset($current_version->error)) {
     // Log a message with the watchdog
     watchdog('browscap', "Couldn't check version: %error", array('%error' => $current_version->error), WATCHDOG_ERROR);
@@ -47,8 +52,13 @@ function _browscap_import($cron = TRUE) {
     return;
   }
 
-  // Fetch the latest browscap data
-  $browscap_data = drupal_http_request('http://browsers.garykeith.com/stream.asp?PHP_BrowsCapINI');
+  // Retrieve the browscap data using HTTPS
+  $browscap_data = drupal_http_request('https://browsers.garykeith.com/stream.asp?PHP_BrowsCapINI');
+
+  // If the browscap data could not be checked using HTTPS, try HTTP
+  if (isset($browscap_data->error)) {
+    $browscap_data = drupal_http_request('http://browsers.garykeith.com/stream.asp?PHP_BrowsCapINI');
+  }
 
   // Log an error if the browscap data could not be retrieved
   if (isset($browscap_data->error) || empty($browscap_data)) {
