Remove pointless tupling.
Say goodbye before quitting.
Separate common elements from handleEvents's say and kick.
Decode and preprocess client input before parsing.