remember ended state, and take callback from duplex stream
document cb in duplex(stream, cb?)
1.6.0