Tested with node.js >= 0.4