Corrected the name of the message in the stream tests
Cleaned up main.hs
Fixed possible problem with TCP byte streams