redesigned the READ in chunked-transfer-mode