DAR-351 prevent breaking chat with a fabricated empty message

Done on both sides
- client code has a check in order not to break the JS
- server code is not broadcasting empty messages