Compress large objects in WrappedSocketConnection