Fix an EOF bug if the request/response chunk boundary is also the boundary of headers and body.