> Client-Transfer-Encoding: chunked <-- **missing from below**

> Content-Length: 123434 <-- **missing from above**

you don't need a Content-Length header of your client uses a chunked
transfer encoding, so these two are kinda mutually exclusive.
fortunately, you also don't need to know that - these are both headers
that apache sets for you when it generates the response.

it doesn't address your cookie issue, but you don't need to worry about
these headers in particular.