Chunked uploads allow arbitrary data to be dropped on the server

Bug: 48306
Change-Id: Icd8e799aaa2cca06495c690187283dd2913a17e3