Improved TXT-record handling, also handled an empty-cache case in Client.java