Fix net-out snapshotting

* Add tests for writing, restoring from net-out snapshot data

[#71585132]

Signed-off-by: Dave Liebreich <dliebreich@pivotallabs.com>