Rewrite import of private key, and support now compressed keys