fix offline mode get server pub key from xml