SYWEB-174: Fix bug with duplicate messages (1 local echo). Add regression test for it.