Debugging. See Test D

Initial message, better method of content-length, more reliable strings,
add a bail-out if a single message is being problematic.