Moved body length calculation to separate function. Related to issue #217.
Moved body length calculation to separate function. Related to issue #217.

updowndown/nanohttpd,WilliamDo/nanohttpd,EricCen/nanohttpd,weathersboyle/nanohttpd,kayhanakbay/nanohttpd,ma5069073/nanohttpd,huanyi0723/nanohttpd,NanoHttpd/nanohttpd,QumuloMe/nanohttpd,updowndown/nanohttpd,LordFokas/nanohttpd,QumuloMe/nanohttpd,songfj/nanohttpd,codebeautiful/nanohttpd,ouya/nanohttpd,songfj/nanohttpd,ouya/nanohttpd,huanyi0723/nanohttpd,panxw/nanohttpd,vnnv/nanohttpd_vnnv,LordFokas/nanohttpd,gushedaoren/nanohttpd,panxw/nanohttpd,vnnv/nanohttpd_vnnv,eGxC/nanohttpd,gushedaoren/nanohttpd,codebeautiful/nanohttpd,EricCen/nanohttpd,weathersboyle/nanohttpd,NanoHttpd/nanohttpd,WilliamDo/nanohttpd,anandsadu/nanohttpd,kayhanakbay/nanohttpd,eGxC/nanohttpd,anandsadu/nanohttpd,ma5069073/nanohttpd