app automatically request the server's public key if it's not already available