Receive and process large REST responses

The device I am interacting with has a REST endpoint that allows me to retrieve the full list of devices attached to it. The list is ~94k in size. In practice I have only been able to receive responses of < 32k. Is there anything I can do to enable making REST calls to LAN devices which have responses > 32k in size? The response is in XML format so I will need to run it through XmlSlurper.