wsmp: read the message length as big endian