http2: use bytes left to write instead of bytes written in data provider to detect EOF
This way we avoid getting the content lenght on every data chunk read, we get it once when setting up the provider and substract the bytes read, so that we reach EOF when it becomes 0.