Added Buffer pretty printing and sendMessage

I tested sendMessage to send a ping to transmission and it works