decodeEncodedContent

Read a content envelope and apply the shared decompression limits.