Writing received message to console

because

* it makes it easier to analyse the conversation in the console