title: how to check socket.io connection status using swift API
body: <p>I am using socket.io with my swift iOS app.  Occasionally my socket connection is dropped.  </p>
  
  <p>How can I check the status of the connection so that I may re-connect if it is not connected?  I couldn't find any commands for checking the status of the connection in the client API documents.</p>
  
  <p>I'm using iOS 11 with swift 4.</p>