rename IncludesEnvelope to ResourceEnvelope, and extend it to add existence checkers and support for content types