Implement Node v.0.8.x compatibility

Implement draft Node v.0.8.x compatibility. Verified for node 0.8.23.