Add some tests for ConnectionCache.
Add some tests fron ConnectionCache.shutdown.
Make `SigmaProtocol` play well with `ConnectionCache`.

`ConnectionCache.cacheUnrequested` requires that the protocols passed
to, to handle disconnections.
Skip test about not waiting for disconnection from unrequested connections.