var nsp = io.of('/my-namespace');
nsp.use(function (client, next){
client.handshake.userId = 1;
next();
});
var nsp2 = io.of('/my-tho');
nsp2.use(function (client, next){
console.log(client.handshake.userId); // - > undefined
next();
});