pub fn start(cfg: Config, identity: Identity) -> (Handle, Receiver<Event>)
Start the client. Returns the outbound handle and the inbound event stream. The connection task runs until the handle and receiver are dropped.