title: How to get the client id?
body: <p>I am using the <a href="https://www.npmjs.com/package/ws" rel="nofollow noreferrer"><code>ws</code></a> lib and I want to make a private chat just like this: client A sends a message to client B.<br>
  There I have a <code>ws.clients.forEach()</code> method to broadcast to every client, but how can I get the client id of an individual one?</p>