Merge pull request #17 from lateau/master

Merge pooling into upstream master
some syntax and spacing formatting tweaks
avoid follow warning. (node) warning: possible EventEmitter memory leak detected.