drain gets the content length from the first chunk/header file to determine how many chunks to get