added a debug message
updated the protocol description which is included in messaging.h