Added security layer in communication protocol

Matlab - removed repetitive warnings