If compression is negotiated, I think we should compress all text frames by default. Of course if the frame is small, we will not compress it. So the compress function on the writer would not be exposed.