Fixed warning in release mode
Implemented (untested) messaging protocol