getting it to work with socket.io 0.9.16 instead of 1.0.0-pre