docs: function tryParse(url) {
    if (!url) {
      return null;
    }
  
    var conf = {};
    var parsed = urlParse(url);
    conf.protocol = parsed.protocol;
    conf.host = parsed.hostname;
    conf.port = parseInt(parsed.port,10);
    return conf;
  }