adding Content-Length header