connection: use process.nextTick
and by nextTick, I mean setImmediate.
Merge pull request #166 from stephenplusplus/nexttick

connection: use setImmediate to simulate async.