diff --git a/lib/prey/connection.js b/lib/prey/connection.js
index <HASH>..<HASH> 100644
--- a/lib/prey/connection.js
+++ b/lib/prey/connection.js
@@ -10,19 +10,14 @@ var logger = require('./common').logger,
 		util = require('util'),
 		Emitter = require('events').EventEmitter;
 
-var Connection = function(proxy_config){
+var Connection = function(options){
 
 	var self = this;
 	this.established = false;
 	this.timeout = 5 * 1000; // 5 seconds
 
-	if(proxy_config.enabled){
-		this.check_port = proxy_config.port;
-		this.check_host = proxy_config.host;
-	} else {
-		this.check_port = 80;
-		this.check_host = 'www.google.com';
-	}
+	this.target_host = options.host || 'www.google.com';
+	this.target_port = options.port || 80;
 
 	this.done = function(status, err){
 		if(err) logger.error(err);
@@ -37,7 +32,7 @@ var Connection = function(proxy_config){
 		var socket = this.socket = new net.Socket();
 		socket.setTimeout(this.timeout);
 
-		socket.connect(parseInt(this.check_port), this.check_host);
+		socket.connect(parseInt(this.target_port), this.target_host);
 
 		socket.once('connect', function() {
 			self.established = true;
Use {port: port, host: host} options structure for connection.js.