add Message#to_hex
Logging: use Message#to_hex