Merged sendRequest() and downloadXml()