Minor clean up
Introduce InputStreamBody, used for chunking, close #1028