add server public key validation