Core nodejs v0.10 `stream` module clone, to allow derbyjs to run on node v0.8x