Do not encrypt already encrypted mails in SMTP relay.
Cleanup code and fix tests.
Change SMTP "relay" to "gateway".
Merge remote-tracking branch 'drebs/feature/4324_prevent-double-encryption-when-relaying-2' into develop