Handle TLS connection failures.
Handle TLS connection failures.

Qt does not support connection failure detection on QSslSocket when
writing. Therefore, upon TLS connection failure, Broker would write
data to the socket indefinitely instead of starting the failover
endpoint.

git-svn-id: a49aa41e49c69a6ab6ef43f172843a2fef6cb475@1224 7c7d615a-03b3-410d-a316-1135b1bd9499

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker