Http: Fix the server reading an entire video or recording into memory
when the client closes the connection prematurely.