doc: Rename CLIENT_GOODBYE to CLIENT_DISCONNECT.
ClientAgent: Implement CLIENT_DISCONNECT handling.