Changed NetworkField handling to use a MemoryStream instead of a byte array