The following business rules apply:
For detailed recommendations regarding the order of stream feature negotiation, refer to &xep0170;.
Stream encryption via TLS (as defined in RFC 3920) and stream compression (as defined herein) are not mutually exclusive, but stream encryption via TLS MUST be negotiated before negotiation of stream compression in order to secure the stream.
+Many of the security considerations related to TLS compression (see Section 6 of RFC 3749) also apply to stream compression.