Add Connection::waitForConnectionEstablished()
Does what it says, saves some boilerplate e.g. in tests (only upcoming new ones use it so far).