blocks: added callback functions to stream_mux and stream_to_tagged_stream

perfected stream_mux and stream_to_tagged_stream