Fix chunked transfer-encoding for HTTP/1.1
Use cow_http_te for creating chunks

This way the issue fixed by the previous commit won't happen again.