After reading a (message + padding) from a server or peer, trim off the padding to ensure
the message id is the same for both sender and receiver.