Hfilter: Add checks for message-id host and small fixes