Improve create_response() with support for headers
Set buffer size to MINIMUM_CHUNK_SIZE