socket.io 1.0 migration

fixes #27