Fixed bad read for chunked rest replies.