MailEncoder(message: MailMessage, hostname: String)
create a MailEncoder for the message
The class will probably get a few setters for optional features of the SMTP protocol later e.g. 8BIT or SMTPUTF (this is not yet supported)
message - the message to encode later
hostname - the hostname to be used in message-id or null to get hostname from OS network config