Reduced TCP packet fragmentation when writing out message content with non-blocking content codecs