Add content-length to response header