specify string byte encoding for messages

Using String#getBytes without specifying the encoding will use the system default.  Since this might change (maybe unexpectedly) we'll be explicit about the encoding.
Merge pull request #1 from LannyRipple/patch-1

specify byte encoding for messages