In parser, read chunked input correctly