Revert "Using UTF-8 encoding to be able to send messages longer than 255 chars."

This reverts commit 7e2dfa926c77846369614a0ec5e6ee5477c4b5e1.