Scott magically fixed the problem with subscriptions (checking req.socket.broadcast causes broadcast to be set, since there is a __getter__ in the socket.io core))
Moved static file middleware AFTER router