Trim message length properly
Add handling for stream disconnects
Merge branch 'master' of https://github.com/rit-sse-mycroft/core.git