Table of Contents
Perhaps this is a utility worthy of being in protocol.py?
__init__ ( self, client, server, clientIO, serverIO, )
flush ( self )
Pump until there is no more input or output.
pump ( self )
Returns whether any data was moved.