[demux-stream] add connection between stream and demux