title: nodejs websocket initial connection timeout
body: <p>I have a node client that tries to connect to a Websocket server that is behind an ELB.</p>
  
  <p>Sometimes, the initial connection hangs and does not return, and i was wondering if there's a timeout options in websockets/ws module.</p>
  
  <p>I saw that it's using the native https/http node lib and that lib has a <code>setTimeout</code> method - but it's not being used.</p>
  
  <p>I patched my installed module to use that method and it worked.
  Is there another option I'm not aware of? Should I submit a PR?</p>
  
  <p>Thanks!</p>