Add the `connect_cached.connected` callback.

It is only called for new connections, right after they connect. This is because the `connected()` method is called for both new and reused connections, which is probably not desirable.