Added logic to handle chunked response for device xml.
Chunk response has <chunk-size followed by \r\n>