Allow chunked encoding, incremental sending of body on HTTP REST calls (PLAT-562)

This essentially deconstructs the sending of HTTP responses into different phases, and allows for multiple body chunks to be sent.  It has the effect of allowing chunked HTTP connections and unknown-content-length or incrementally generated responses.