Send notifications when connecting/disconnecting

Since you won't get the response to a request after reconnecting, a client needs to know when disconnection happens, so that it can handle the request failure.

I think? I notice there's a sessionToken that is restored on reconnection, but I can't find any documentation for it. Will it actually restore and be used to respond to outstanding requests after a reconnecting?