fn frame_for<S>(socket: &ClientSocket<S>, text: &str) -> MessageExpand description
One message as the frame this connection sends: text as it always was, or
a gzipped body behind COMPRESSED_JSON_TAG when the client declared the
capability and the body is over the threshold.