JAMES-3613 IMAP should compute transport MDC upon connection

Later interactions should be able to reuse the initial MDC.

This, for instance, avoid computing the MDC for each following message, but also
prevents triggering several DNS queries related to the same transport connection.

We do save the initial MDC as a session attachment for later reuse.

Note that subsequent message might update the state of the SMTP connection, eg
by doing authentication thus we need to refresh the MDC context linked to the
protocol session on each message.
2 files changed