Fixed: use content size for Content-Length header.