Don't use deprecated API on Socket.io 1.0