More or less working

key exchange is working,
encryptAndSignData is working,
decryptAndVerifyData is working,
client and server messages are not working