It seems that some of the messages from docker can't be trusted to always be complete.  It seems that they can be broken up.  This adds the ability for the cleanStreams method to detect and fix this issue.
Also adding tests