Change in ovirt-hosted-engine-ha[ovirt-hosted-engine-ha-1.2]: refactor the brokerlink connect() code