Fix responding with chunked encoding

It's not valid to send a response that has both a Content-Length and specifies Transfer-Encoding: chunked.  This fixes that issue.