Process curve name when loading EC keys. Fixes #1336

Not super happy with `CURVE_TYPES` so if anyone has a better suggestion speak up.
One final thought, besides this I think it's fine, should the curve be lazily computed on the `_EllipticCurvePublicKey`, instead of eagerly?