Added chunking support to HTTPAsyncDataResponse.
Cleaned up state machine code in HTTPAsyncDataResponse.
Added switch to UI to toggle chunking on and off.