Overriding the encodeWords method for mailbox headers.