Transparent Recovery of Dynamic States on Constrained Nodes through Deep Packet Inspection