Add checkHostAndPort logic to check the availability of etcd server.