client/server: fixes for changes to keyring .rsa() & .dh() functions