Added Dkim header class.
Fixed encoding issues for non-ASCII e-mails and made the initial config less strict allowing more dynamic implementations.