ApiClient#connected - The client has been connected to the server.
ApiClient#disconnected - The client has been disconnected by the server, either authentication is lost or the server is unreachable.This event is not triggered when the client manually disconnects.
ApiClient#connected - The client has been connected to the server.