That seemed like a pretty proper reply to me, except you're like so wrong about tabs: you want your code readable no matter what tab stops are set to, and that becomes just too difficult to do with tabs (esp. if you're using emacs). I suspect you'll end up agreeing over time, especially if you ever work on a more than 3 person project.
/rant
also, I think you should do input type validation in your websocket code. I think my website is currently set to an object and not string...
I'll stop poking around now. Good luck!