Set Content-Length header