[#952] Allow to switch to single message decoding mode on the fly
[#864] Switch to single decoding mode on the protocol upgrade to prevent races