node-phantom only works with socket io version 0.9.x
bug fix when connection upgrade was called on socketio
the callback was executed twice with a phantom process to renew the connection, and the first callback instance is useless

with this bug fix, the callback will only be called once and the connection upgrade is transparent to the user