added support for restify.
net was not being used.
Merge branch 'bcoe-restify'