messenger: reject empty messages and nicknames