This does sound interesting, unfortunately I fall just short of being able to implement chunked encoding, so maybe in the future!
EDIT: I am no longer unable to implement chunked encoding. That wasn't complicated at all. I have no idea why I'm telling you all.