Fix ActionMessage header deserialization