This function is not thread-safe but is currently used by multiple goroutines in RunningOutput
closes #1348
in this commit: - chunks out the http request body to avoid making very large allocations. - establishes a limit for the maximum http request body size that the listener will accept. - utilizes a pool of byte buffers to reduce GC pressure.
closes #914 closes #967