removed deprecated DuplexStream from synchronous concurrency

[DuplexStream is deprecated](http://doc.rust-lang.org/std/comm/struct.DuplexStream.html) and currently the compiler issues a warning.
Removed it, using two unidirectional channels instead.