Adding content length to header