Implemented BidirectionalStreamAdaptor (fixes #59)