Fix bug for close connection response with no body.

cow should add content-length: 0 header to indicate the end of close
connection responses with no body, add chunked encoding for those has body.

Safari will wait for body when cow incorrectly adds the chunked header.
As Safari limits number of concurrent connections to the proxy, it will
block on such erroneous responses.