adding ProtocolLogMessages class for logging instead of explicit print().
adding ProtocolLogMessages class for logging instead of explicit print().
Merge remote-tracking branch 'origin/master'