Bug fix: don't encrypt unvalidated connection in legacyms.