diff -urp ./spambot.admin.inc patch/spambot/spambot.admin.inc
--- ./spambot.admin.inc	2011-04-19 08:00:46.000000000 +0100
+++ patch/spambot/spambot.admin.inc	2011-09-06 16:48:43.000000000 +0100
@@ -133,5 +133,42 @@ function spambot_settings_form($form_sta
     '#default_value' => variable_get('spambot_sfs_api_key', FALSE),
   );
 
+  $form['proxy'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Proxy server settings'),
+    '#description' => t('Your installation might need to tunnel all HTTP requests through a proxy server. You can define your proxy parameters below.'),
+    '#collapsible' => TRUE,
+    '#collapsed' => TRUE,
+  );
+  
+  if (!in_array('curl', get_loaded_extensions())) {
+    $form['proxy']['curl_not_found'] = array(
+      '#prefix' => '<div class="messages error">',
+      '#value' => t('The <a href="http://curl.haxx.se/" target="_blank">libcurl</a> package hasn\'t been found on the server. You need to <a href="http://www.php.net/manual/en/curl.setup.php" target="_blank">install</a> it to enable the proxy functionality.'),
+      '#suffix' => '</div>',
+    );
+  }
+  else {
+    $form['proxy']['spambot_proxy_address'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Address of your PROXY server'),
+      '#description' => t('You can set the address of the proxy here, e.g. myproxy.com:8080'),
+      '#default_value' => variable_get('spambot_proxy_address', FALSE),
+    );
+    
+    $form['proxy']['spambot_proxy_username'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Username for your PROXY server (optional)'),
+      '#description' => t('Username for the proxy server, if required'),
+      '#default_value' => variable_get('spambot_proxy_username', FALSE),
+    );
+    
+    $form['proxy']['spambot_proxy_password'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Password for your PROXY server (optional)'),
+      '#description' => t('Password for the proxy server, if required'),
+      '#default_value' => variable_get('spambot_proxy_password', FALSE),
+    );
+  }
   return system_settings_form($form);
 }
diff -urp ./spambot.module patch/spambot/spambot.module
--- ./spambot.module	2011-04-19 08:00:46.000000000 +0100
+++ patch/spambot/spambot.module	2011-08-19 16:59:41.000000000 +0100
@@ -251,7 +251,13 @@ function spambot_sfs_request($query, &$d
   }
 
   $url = 'http://www.stopforumspam.com/api?' . join('&', $params);
-  $result = drupal_http_request($url);
+  $proxy_address = variable_get('spambot_proxy_address', NULL);
+  if (!empty($proxy_address)) {
+    $result = _spambot_http_proxy_request($url);
+  }
+  else {
+    $result = drupal_http_request($url);
+  }
   if (!empty($result->code) && $result->code == 200 && empty($result->error) && !empty($result->data)) {
     $data = unserialize($result->data);
     if (!empty($data['success'])) {
@@ -424,3 +430,42 @@ function spambot_report_account($account
 
   return $success;
 }
+
+/**
+ * Query an URL through a proxy
+ *
+ * @param $url
+ *   URL to stopforumspam.com including the parameters
+ *   to check against (e.g. email, IP...)
+ *
+ * @return
+ *   an object similar to a drupal_http_request response object
+ */
+function _spambot_http_proxy_request($url) {
+  $options = array(
+    CURLOPT_RETURNTRANSFER => true,
+    CURLOPT_HTTPPROXYTUNNEL => true,
+    CURLOPT_PROXY => variable_get('spambot_proxy_address', NULL),
+  );
+
+  $proxy_username = variable_get('spambot_proxy_username', NULL);
+  $proxy_password = variable_get('spambot_proxy_password', NULL);
+  if (!empty($proxy_username) && !empty($proxy_password)) {
+    $option[CURLOPT_PROXYUSERPWD] = $proxy_username . ':' . $proxy_password;
+  }
+
+  $ch = curl_init($url);
+  curl_setopt_array($ch, $options);
+  $content = curl_exec($ch);
+  $errmsg  = curl_error($ch);
+  $header  = curl_getinfo($ch);
+  curl_close($ch);
+  
+  // Transform curl response into a compatible object
+  $result = (object) array(
+    "code" => $header['http_code'],
+    "data" => $content,
+    "error" => $errmsg,
+  );
+  return $result;
+}
\ No newline at end of file
