mod_stream_management: add missing flag in replace_session() and also nil out halted value.