diff --git a/lib/url.js b/lib/url.js
index <HASH>..<HASH> 100644
--- a/lib/url.js
+++ b/lib/url.js
@@ -49,23 +49,8 @@ function parse(uri){
   }
 
   // in absence of `protocol`
-  if (null == obj.secure) {
-    // node.js secure by default
-    if ('undefined' != typeof location) {
-      obj.secure = 'https:' == location.protocol;
-    } else {
-      obj.secure = true;
-    }
-  }
   if (!obj.protocol) obj.protocol = obj.secure ? 'https:' : 'http:';
 
-  // in absence of `hostname`
-  if (!obj.hostname && obj.host) {
-    var pieces = obj.host.split(':');
-    obj.hostname = pieces.shift();
-    if (pieces.length) obj.port = pieces.pop();
-  }
-
   // make sure we treat `localhost:80` and `localhost` equally
   if ((/(http|ws):/.test(obj.protocol) && 80 == obj.port) ||
      (/(http|ws)s:/.test(obj.protocol) && 443 == obj.port)) {
url: simplify by no longer accepting object