That’s how Transfer-Encoding: chunked works. It’s part of the HTTP protocol. Please use a HTTP client, not a TCP client.
Transfer-Encoding: chunked