def build_payload(self, tag, message):
message = self.encode(message)<EOL>message = self.sign(message)<EOL>payload = bytes(tag.encode('<STR_LIT:utf-8>')) + message<EOL>return payload<EOL>
Encode, sign payload(optional) and attach subscription tag