Add socket.io offline