fixed a string handling bug
that occured when a message of length divisible by 8 was sent
Merge pull request #2 from Teyras/master

Fix string handling bug