title: Spam socket io connections
body: <p>How to prevent if someone spam socket connection like this:</p>
  
  <pre><code>for (let i = 0; i &lt; 10000000; i++) {
      io.connect('ws://localhost:9001');
  }
  </code></pre>
  
  <p>I've googled but all of the topic is talking about how to prevent <code>emit</code> by rate limit and etc. But rate limit couldn't be used if someone spamming connections instead of spamming message. Any solution or hint for this? Thanks</p>