title: Check whether Hazelcast cluster is ready for requests via bash
body: <p>I'm using <a href="https://hub.docker.com/r/hazelcast/hazelcast/" rel="nofollow">Docker with Hazelcast 3.6</a>.
  I launch Hazelcast instances and want to launch my application only after cluster is ready for requests.</p>
  
  <p>I've read in <a href="http://docs.hazelcast.org/docs/3.5/manual/html/restclient.html" rel="nofollow">documentation</a>, that it's possible to access Hazelcast via <code>curl</code>, but it doesn't work for me.
  I'm getting <code>(52) Empty reply from server</code>, when trying to <code>POST</code> to Hazelcast instance, which is started and ready.</p>
  
  <p>Is there a method to check, whether Hazelcast is ready?
  E.g., for Cassandra I run
  <code>wget --spider 0.0.0.0:9042</code>
  for RabbitMQ this one works great <code>netcat -z -w 2 rabbit 5672</code>. Is there similar solution for Hazelcast?</p>