Simple-websocket is a project mainly written in COFFEESCRIPT and JAVASCRIPT, it's free.
Node.js websockets in one file.
Copied a lot of code from https://github.com/miksago/node-websocket-server