Support per-message deflate in client code