Encryption & decryption of messages working.
Fix armor detection.
Encode text documents using latin-1 if encoding is unknown.
Convert secret subkeys to public subkeys when a secret key is converted.
Unlock and lock subkeys when a primary key is unlocked / locked.
Basic HKP client implementation.