formatting
change encoding to UTF-8
add support for byte arrays for utf-8 conversion of messages
add thread name to output
add debug logs
use byte arrays and utf-8 to handle special chars
fix a few things