docs: function checkConnection(options, cb) {
      if (count < options.attempts) {
          connectServer(options, callback);
      } else {
          var avg = results.reduce(function(prev, curr) { return prev + curr.time; }, 0);
          var max = results.reduce(function(prev, curr) { return (prev > curr.time) ? prev : curr.time; }, results[0].time);
          var min = results.reduce(function(prev, curr) { return (prev < curr.time) ? prev : curr.time; }, results[0].time);
  
          avg = avg / results.length;
          var out = {
              address:  options.address,
              port:     options.port,
              attempts: options.attempts,
              avg:      avg,
              max:      max,
              min:      min,
              results:  results
          };
  
          cb(undefined, out);
      }
  }