Fixed HTTP chunked encoding.
Fixed HTTP chunked encoding.

Fixes #858.

QUSpilPrgm/cuberite,marvinkopf/cuberite,mmdk95/cuberite,mc-server/MCServer,nichwall/cuberite,Schwertspize/cuberite,mjssw/cuberite,QUSpilPrgm/cuberite,birkett/MCServer,nounoursheureux/MCServer,electromatter/cuberite,mjssw/cuberite,linnemannr/MCServer,jammet/MCServer,kevinr/cuberite,Tri125/MCServer,Altenius/cuberite,thetaeo/cuberite,zackp30/cuberite,Haxi52/cuberite,kevinr/cuberite,birkett/MCServer,jammet/MCServer,nevercast/cuberite,marvinkopf/cuberite,Haxi52/cuberite,HelenaKitty/EbooMC,mjssw/cuberite,linnemannr/MCServer,Howaner/MCServer,nicodinh/cuberite,nichwall/cuberite,nounoursheureux/MCServer,ionux/MCServer,tonibm19/cuberite,marvinkopf/cuberite,zackp30/cuberite,SamOatesPlugins/cuberite,marvinkopf/cuberite,thetaeo/cuberite,guijun/MCServer,nounoursheureux/MCServer,guijun/MCServer,tonibm19/cuberite,linnemannr/MCServer,thetaeo/cuberite,Tri125/MCServer,bendl/cuberite,ionux/MCServer,ionux/MCServer,Fighter19/cuberite,johnsoch/cuberite,MuhammadWang/MCServer,birkett/cuberite,Frownigami1/cuberite,Howaner/MCServer,birkett/cuberite,Haxi52/cuberite,electromatter/cuberite,mc-server/MCServer,nicodinh/cuberite,guijun/MCServer,birkett/MCServer,Howaner/MCServer,Haxi52/cuberite,jammet/MCServer,nichwall/cuberite,johnsoch/cuberite,Fighter19/cuberite,QUSpilPrgm/cuberite,birkett/cuberite,tonibm19/cuberite,ionux/MCServer,SamOatesPlugins/cuberite,MuhammadWang/MCServer,nicodinh/cuberite,nichwall/cuberite,Schwertspize/cuberite,Tri125/MCServer,Schwertspize/cuberite,guijun/MCServer,Fighter19/cuberite,nichwall/cuberite,electromatter/cuberite,guijun/MCServer,zackp30/cuberite,mmdk95/cuberite,Howaner/MCServer,nounoursheureux/MCServer,mjssw/cuberite,nicodinh/cuberite,Schwertspize/cuberite,Frownigami1/cuberite,thetaeo/cuberite,mmdk95/cuberite,Schwertspize/cuberite,Frownigami1/cuberite,nevercast/cuberite,linnemannr/MCServer,mjssw/cuberite,linnemannr/MCServer,birkett/MCServer,MuhammadWang/MCServer,tonibm19/cuberite,bendl/cuberite,jammet/MCServer,nounoursheureux/MCServer,HelenaKitty/EbooMC,SamOatesPlugins/cuberite,Howaner/MCServer,nicodinh/cuberite,nevercast/cuberite,mmdk95/cuberite,jammet/MCServer,Frownigami1/cuberite,ionux/MCServer,nicodinh/cuberite,HelenaKitty/EbooMC,nevercast/cuberite,Howaner/MCServer,bendl/cuberite,electromatter/cuberite,kevinr/cuberite,thetaeo/cuberite,nounoursheureux/MCServer,tonibm19/cuberite,SamOatesPlugins/cuberite,birkett/MCServer,HelenaKitty/EbooMC,electromatter/cuberite,linnemannr/MCServer,mjssw/cuberite,mc-server/MCServer,birkett/cuberite,Fighter19/cuberite,johnsoch/cuberite,bendl/cuberite,nevercast/cuberite,QUSpilPrgm/cuberite,johnsoch/cuberite,mc-server/MCServer,birkett/cuberite,mmdk95/cuberite,QUSpilPrgm/cuberite,Altenius/cuberite,zackp30/cuberite,johnsoch/cuberite,Altenius/cuberite,marvinkopf/cuberite,Tri125/MCServer,MuhammadWang/MCServer,Altenius/cuberite,mmdk95/cuberite,Tri125/MCServer,zackp30/cuberite,electromatter/cuberite,bendl/cuberite,nevercast/cuberite,thetaeo/cuberite,Tri125/MCServer,Fighter19/cuberite,QUSpilPrgm/cuberite,zackp30/cuberite,guijun/MCServer,kevinr/cuberite,Haxi52/cuberite,marvinkopf/cuberite,Fighter19/cuberite,HelenaKitty/EbooMC,birkett/MCServer,MuhammadWang/MCServer,Altenius/cuberite,SamOatesPlugins/cuberite,nichwall/cuberite,Haxi52/cuberite,kevinr/cuberite,mc-server/MCServer,ionux/MCServer,tonibm19/cuberite,kevinr/cuberite,birkett/cuberite,Frownigami1/cuberite,mc-server/MCServer,jammet/MCServer