This reverts commit fbdeeeed5f. I can find no basis for that commit and think that I made it in error. setRemoteCredPair always encrypts using the cipher from remoteCipher, even when the cipher is shared.
fbdeeeed5f