Support for message encapsulation