Duplex stream wrapper around node-serialport