Release client resources on disconnect.
Process accept and return messages.
Add help and state commands.