Re-add curve fallback detection
Re-add curve fallback detection

jvehent/cipherscan,jvehent/cipherscan,PeterMosmans/cipherscan,PeterMosmans/cipherscan,MikeDawg/cipherscan,MikeDawg/cipherscan,jvehent/cipherscan,MikeDawg/cipherscan,PeterMosmans/cipherscan