Issue #1081192 by wojtha, klausi, larowlan, nedjo, Heine: Verify peer on HTTPS if cURL available (but be careful of built-in cert bundles in the codebase).
Issue #2211949 by chx, Berdir, fago, benjy: Support keeping new revision id for migrate.