LearnBoost/socket.io — pull request #1106 by ashaffer (2012-12-13 04:13:21+00:00)
Title: fixed event listener bug in latest node

I'm not sure when this changed in node exactly but in the most current master branch (0.9.4) server.listeners returns a copy of the list and not the real thing, so calling splice on it does not remove the old listeners. This causes the original 'default response' handler to run before any of the real ones, which of course breaks everything.