Server: bug fix: protect messages