don't write "Transfer-Encoding: chunked" when Content-Length is set

this commit fixes #1648