Add a secure_communication decorator and tests.