socket.io 0.9 to 1.0 migration. This caused some good code improvement. Still to be done is migrating authentication to middleware via io.use(). I haven't done this yet because I need to investigate how passport fits into the mix, and they've left the old configuration for backwards-compatibility. fixes #27