lib/tor.js
function Tor(child, port, dir) {
  this.process = child;
  this.port    = port;
  this.dir     = dir;
}
function Tor(child, port, dir) {
  this.process = child;
  this.port    = port;
  this.dir     = dir;
}
A wrapper for the tor process containing its ChildProcess, port number
and data directory.

@param {ChildProcess} child
@param {int}          port
@param {string}       dir