- improved message framing. as basis to improve buffering - share more common code for the writer part