rfc822: Allow test infrastructure to handle headers with minor errors