Add some overflow protection for emotes

Clients crash if the emote is too large, despite the client
using a 1024 char buffer...