Added protocolling of the incoming messages