Merge pull request #19 from sandfish8/public_key

be able to set both private key (identity_file) and public key (public_identity_file)
[public_key] don't try and read pubic_key when it's nil