How to protect Node.JS web soket server against connection bomb?

Anyone can request to connect to my real-time application server written by Node.JS which started on port 80.

That means anyone can send large number of curl requests to bomb my socket server causes the connection overflow. Any way to detect curl request and reject them?

Thank you.

Just depends on what kind of DDoS you are trying to prevent. For most situations HAProxy or IPTables should be sufficient:
HAProxy http://www.serverphorums.com/read.php?10,452070

IPTables: http://blog.bodhizazen.net/linux/prevent-dos-with-iptables/