Use socket.io built in get/set on socket

Check it.