Avoiding echo in chat server.