Only use duplex stream for node 0.10 and higher