[http] HttpConnection: added the ability to switch between explicit and auto-flush on writes defaulting to auto-flush.
[capi] expose response writing autoflush
[capi] expose API to post a function+userdata into request's worker thread for execution.
[capi] API improved