Define the NullCompressor.
Define the MockConnection.
Test serialization of streams.