Represents a connection to Ably.
An interface for listening to changes for the connection status
(CHA-CS2b) The current error, if any, that caused the connection to enter the current status.
(CHA-CS2a) The current status of the connection.
(CHA-CS4) Registers a listener that will be called whenever the connection status changes.