Fix and improve StreamedConnection

Fix StreamedConnection thread loop.
Adding Command and Messages toString Methods.