encode dkim_domain before using in dkim.sign