Additional way to calculate the request body size.

Additional way to calculate the request body size in case if the proxy server has been added not only the "HTTP/1.0 200 Connection established" header.
I make like as the code below.