cli: verify connections before sending them over to daemon

This way we generate the error messages on the client side and therefore
can localize them.
7 jobs for lr/sae in 21 minutes and 31 seconds (queued for 1 minute and 1 second)