Multi-byte safe message truncate
Merge pull request #12 from quiiver/master

Multi-byte safe message truncate