Support server-side fragmentation

Outgoing text or binary frames larger than 2048 bytes will be sent
instead in some number of fragmented frames.