AddressBook: simplified XHR error handling