Adding in support for private keys for connecting to servers