Fix logic in http_loader
Fix logic in http_loader

We don't need to repeatedly read the headers, and need to send the Done message.

indykish/servo,bfrohs/servo,pyfisch/servo,vks/servo,Adenilson/prototype-viewing-distance,pcwalton/servo,eddyb/servo,indykish/servo,nrc/servo,mbrubeck/servo,owaspjocur/servo,SimonSapin/servo,boghison/servo,mbrubeck/servo,avadacatavra/servo,huonw/servo,michaelwu/servo,aidanhs/servo,snf/servo,saneyuki/servo,brson/servo,splav/servo,splav/servo,jgraham/servo,akosel/servo,nnethercote/servo,ConnorGBrewster/servo,GyrosOfWar/servo,peterjoel/servo,notriddle/servo,pgonda/servo,vks/servo,saneyuki/servo,anthgur/servo,akosel/servo,pgonda/servo,GreenRecycleBin/servo,caldwell/servo,peterjoel/servo,larsbergstrom/servo,szeged/servo,jgraham/servo,youprofit/servo,thiagopnts/servo,dsandeephegde/servo,Shraddha512/servo,g-k/servo,fiji-flo/servo,froydnj/servo,wartman4404/servo,juzer10/servo,hyowon/servo,tschneidereit/servo,steveklabnik/servo,deokjinkim/servo,sadmansk/servo,runarberg/servo,vks/servo,boghison/servo,canaltinova/servo,ryancanhelpyou/servo,deokjinkim/servo,jdramani/servo,shrenikgala/servo,nrc/servo,zentner-kyle/servo,pyfisch/servo,notriddle/servo,srbhklkrn/SERVOENGINE,jimberlage/servo,Shraddha512/servo,codemac/servo,seanmonstar/servo,mukilan/servo,kindersung/servo,pyecs/servo,rixrix/servo,mukilan/servo,dmarcos/servo,jimberlage/servo,juzer10/servo,pyecs/servo,splav/servo,hyowon/servo,aweinstock314/servo,notriddle/servo,jlegendary/servo,paulrouget/servo,ryancanhelpyou/servo,s142857/servo,DominoTree/servo,walac/servo,dmarcos/servo,anthgur/servo,owaspjocur/servo,GyrosOfWar/servo,GreenRecycleBin/servo,s142857/servo,ryancanhelpyou/servo,pgonda/servo,cbrewster/servo,froydnj/servo,saneyuki/servo,nnethercote/servo,emilio/servo,jlegendary/servo,owaspjocur/servo,mt2d2/servo,Adenilson/prototype-viewing-distance,jlegendary/servo,hyowon/servo,splav/servo,tschneidereit/servo,mt2d2/servo,shrenikgala/servo,ConnorGBrewster/servo,anthgur/servo,canaltinova/servo,emilio/servo,emilio/servo,caldwell/servo,larsbergstrom/servo,aidanhs/servo,shrenikgala/servo,larsbergstrom/servo,seanmonstar/servo,peterjoel/servo,A-deLuna/servo,saneyuki/servo,mrobinson/servo,g-k/servo,brendandahl/servo,cbrewster/servo,DominoTree/servo,zhangjunlei26/servo,zentner-kyle/servo,g-k/servo,dmarcos/servo,cbrewster/servo,walac/servo,tempbottle/servo,pyfisch/servo,mukilan/servo,zhangjunlei26/servo,zhangjunlei26/servo,tempbottle/servo,chotchki/servo,WriterOfAlicrow/servo,upsuper/servo,deokjinkim/servo,snf/servo,boghison/servo,g-k/servo,luniv/servo,hyowon/servo,mukilan/servo,saratang/servo,karlito40/servo,rixrix/servo,Shraddha512/servo,SimonSapin/servo,CJ8664/servo,dagnir/servo,ruud-v-a/servo,jgraham/servo,boghison/servo,nnethercote/servo,emilio/servo,rentongzhang/servo,larsbergstrom/servo,rnestler/servo,echochamber/servo,KiChjang/servo,brendandahl/servo,RenaudParis/servo,nick-thompson/servo,fiji-flo/servo,nnethercote/servo,meh/servo,michaelwu/servo,zentner-kyle/servo,paulrouget/servo,dati91/servo,zhangjunlei26/servo,WriterOfAlicrow/servo,rixrix/servo,GreenRecycleBin/servo,avadacatavra/servo,nerith/servo,meh/servo,paulrouget/servo,saneyuki/servo,tempbottle/servo,mrobinson/servo,sadmansk/servo,huonw/servo,GreenRecycleBin/servo,zhangjunlei26/servo,dvberkel/servo,mdibaiee/servo,CJ8664/servo,GreenRecycleBin/servo,j3parker/servo,Adenilson/prototype-viewing-distance,j3parker/servo,bjwbell/servo,mattnenterprise/servo,paulrouget/servo,karlito40/servo,CJ8664/servo,upsuper/servo,ruud-v-a/servo,KiChjang/servo,canaltinova/servo,aidanhs/servo,chotchki/servo,jimberlage/servo,brendandahl/servo,mrobinson/servo,eddyb/servo,evilpie/servo,nick-thompson/servo,meh/servo,dhananjay92/servo,peterjoel/servo,caldwell/servo,ConnorGBrewster/servo,splav/servo,indykish/servo,snf/servo,mrobinson/servo,tafia/servo,huonw/servo,froydnj/servo,akosel/servo,runarberg/servo,zentner-kyle/servo,karlito40/servo,snf/servo,boghison/servo,jdramani/servo,steveklabnik/servo,mbrubeck/servo,kindersung/servo,eddyb/servo,A-deLuna/servo,rentongzhang/servo,nerith/servo,dati91/servo,sadmansk/servo,ryancanhelpyou/servo,thiagopnts/servo,jimberlage/servo,echochamber/servo,tafia/servo,juzer10/servo,nrc/servo,bfrohs/servo,chotchki/servo,SimonSapin/servo,mattnenterprise/servo,rnestler/servo,nrc/servo,mbrubeck/servo,wpgallih/servo,dhananjay92/servo,dagnir/servo,steveklabnik/servo,notriddle/servo,nnethercote/servo,rnestler/servo,Aalhad/CanvasRenderingContext2DMozilla,dagnir/servo,peterjoel/servo,indykish/servo,aidanhs/servo,snf/servo,upsuper/servo,rentongzhang/servo,metajack/servo,RenaudParis/servo,g-k/servo,cbrewster/servo,GyrosOfWar/servo,mdibaiee/servo,saneyuki/servo,brendandahl/servo,mrobinson/servo,szeged/servo,saratang/servo,pyfisch/servo,chotchki/servo,wpgallih/servo,emilio/servo,paulrouget/servo,brson/servo,zhangjunlei26/servo,pyfisch/servo,dsandeephegde/servo,avadacatavra/servo,s142857/servo,paulrouget/servo,pgonda/servo,Adenilson/prototype-viewing-distance,fiji-flo/servo,tschneidereit/servo,mbrubeck/servo,ryancanhelpyou/servo,szeged/servo,steveklabnik/servo,fiji-flo/servo,Aalhad/CanvasRenderingContext2DMozilla,saneyuki/servo,s142857/servo,huonw/servo,indykish/servo,walac/servo,Adenilson/prototype-viewing-distance,chotchki/servo,rentongzhang/servo,zhangjunlei26/servo,cbrewster/servo,eddyb/servo,paulrouget/servo,snf/servo,mattnenterprise/servo,thiagopnts/servo,brson/servo,szeged/servo,bfrohs/servo,nnethercote/servo,mdibaiee/servo,AnthonyBroadCrawford/servo,GyrosOfWar/servo,zentner-kyle/servo,metajack/servo,tschneidereit/servo,szeged/servo,rentongzhang/servo,evilpie/servo,SimonSapin/servo,splav/servo,dhananjay92/servo,mt2d2/servo,zhangjunlei26/servo,WriterOfAlicrow/servo,juzer10/servo,canaltinova/servo,echochamber/servo,jlegendary/servo,samfoo/servo,rixrix/servo,owaspjocur/servo,CJ8664/servo,srbhklkrn/SERVOENGINE,CJ8664/servo,larsbergstrom/servo,bjwbell/servo,bfrohs/servo,akosel/servo,pyecs/servo,caldwell/servo,Aalhad/CanvasRenderingContext2DMozilla,pyecs/servo,mt2d2/servo,saneyuki/servo,j3parker/servo,brendandahl/servo,nick-thompson/servo,nerith/servo,dvberkel/servo,dhananjay92/servo,akosel/servo,metajack/servo,Shraddha512/servo,samfoo/servo,rnestler/servo,dagnir/servo,tempbottle/servo,AnthonyBroadCrawford/servo,aidanhs/servo,dsandeephegde/servo,s142857/servo,ConnorGBrewster/servo,upsuper/servo,DominoTree/servo,sadmansk/servo,wpgallih/servo,srbhklkrn/SERVOENGINE,anthgur/servo,juzer10/servo,evilpie/servo,paulrouget/servo,Aalhad/CanvasRenderingContext2DMozilla,mdibaiee/servo,upsuper/servo,A-deLuna/servo,jimberlage/servo,youprofit/servo,nick-thompson/servo,luniv/servo,WriterOfAlicrow/servo,eddyb/servo,notriddle/servo,A-deLuna/servo,huonw/servo,karlito40/servo,anthgur/servo,SimonSapin/servo,saratang/servo,vks/servo,mattnenterprise/servo,eddyb/servo,akosel/servo,mattnenterprise/servo,ruud-v-a/servo,szeged/servo,pcwalton/servo,aidanhs/servo,froydnj/servo,dati91/servo,pcwalton/servo,dvberkel/servo,szeged/servo,shrenikgala/servo,kindersung/servo,nrc/servo,DominoTree/servo,nnethercote/servo,dmarcos/servo,juzer10/servo,ruud-v-a/servo,metajack/servo,nrc/servo,metajack/servo,indykish/servo,caldwell/servo,rixrix/servo,pyfisch/servo,A-deLuna/servo,GyrosOfWar/servo,canaltinova/servo,hyowon/servo,michaelwu/servo,nick-thompson/servo,eddyb/servo,saratang/servo,cbrewster/servo,wpgallih/servo,jdramani/servo,KiChjang/servo,srbhklkrn/SERVOENGINE,rixrix/servo,mt2d2/servo,Shraddha512/servo,karlito40/servo,samfoo/servo,SimonSapin/servo,pyfisch/servo,wartman4404/servo,peterjoel/servo,froydnj/servo,seanmonstar/servo,aweinstock314/servo,thiagopnts/servo,aweinstock314/servo,canaltinova/servo,rnestler/servo,tschneidereit/servo,nnethercote/servo,peterjoel/servo,nerith/servo,canaltinova/servo,splav/servo,dsandeephegde/servo,dmarcos/servo,DominoTree/servo,j3parker/servo,mrobinson/servo,runarberg/servo,j3parker/servo,bjwbell/servo,notriddle/servo,CJ8664/servo,GreenRecycleBin/servo,szeged/servo,GreenRecycleBin/servo,saratang/servo,evilpie/servo,larsbergstrom/servo,pyecs/servo,aidanhs/servo,RenaudParis/servo,kindersung/servo,tempbottle/servo,GyrosOfWar/servo,walac/servo,nick-thompson/servo,DominoTree/servo,KiChjang/servo,mbrubeck/servo,paulrouget/servo,AnthonyBroadCrawford/servo,kindersung/servo,srbhklkrn/SERVOENGINE,luniv/servo,evilpie/servo,boghison/servo,avadacatavra/servo,luniv/servo,saratang/servo,thiagopnts/servo,hyowon/servo,wpgallih/servo,sadmansk/servo,tafia/servo,KiChjang/servo,brendandahl/servo,nick-thompson/servo,jlegendary/servo,notriddle/servo,Shraddha512/servo,rnestler/servo,saneyuki/servo,KiChjang/servo,pgonda/servo,SimonSapin/servo,peterjoel/servo,kindersung/servo,bfrohs/servo,dagnir/servo,vks/servo,runarberg/servo,juzer10/servo,aweinstock314/servo,jlegendary/servo,emilio/servo,srbhklkrn/SERVOENGINE,DominoTree/servo,youprofit/servo,tempbottle/servo,wpgallih/servo,shrenikgala/servo,fiji-flo/servo,szeged/servo,larsbergstrom/servo,aweinstock314/servo,hyowon/servo,WriterOfAlicrow/servo,jgraham/servo,cbrewster/servo,mukilan/servo,DominoTree/servo,huonw/servo,Shraddha512/servo,tschneidereit/servo,ConnorGBrewster/servo,codemac/servo,deokjinkim/servo,thiagopnts/servo,A-deLuna/servo,dvberkel/servo,saneyuki/servo,boghison/servo,seanmonstar/servo,pgonda/servo,tempbottle/servo,cbrewster/servo,brson/servo,dati91/servo,wartman4404/servo,deokjinkim/servo,pcwalton/servo,mattnenterprise/servo,wpgallih/servo,mattnenterprise/servo,CJ8664/servo,pyfisch/servo,emilio/servo,shrenikgala/servo,pcwalton/servo,avadacatavra/servo,samfoo/servo,ConnorGBrewster/servo,rnestler/servo,larsbergstrom/servo,ConnorGBrewster/servo,GreenRecycleBin/servo,upsuper/servo,evilpie/servo,ryancanhelpyou/servo,avadacatavra/servo,brson/servo,s142857/servo,splav/servo,sadmansk/servo,codemac/servo,dati91/servo,youprofit/servo,meh/servo,KiChjang/servo,anthgur/servo,KiChjang/servo,meh/servo,dhananjay92/servo,tafia/servo,dsandeephegde/servo,mt2d2/servo,avadacatavra/servo,indykish/servo,srbhklkrn/SERVOENGINE,caldwell/servo,chotchki/servo,jgraham/servo,anthgur/servo,steveklabnik/servo,WriterOfAlicrow/servo,canaltinova/servo,eddyb/servo,snf/servo,dati91/servo,dhananjay92/servo,brendandahl/servo,fiji-flo/servo,ruud-v-a/servo,steveklabnik/servo,rixrix/servo,peterjoel/servo,walac/servo,j3parker/servo,kindersung/servo,dagnir/servo,michaelwu/servo,AnthonyBroadCrawford/servo,nrc/servo,walac/servo,bjwbell/servo,mattnenterprise/servo,dati91/servo,samfoo/servo,luniv/servo,evilpie/servo,codemac/servo,DominoTree/servo,luniv/servo,KiChjang/servo,youprofit/servo,wartman4404/servo,paulrouget/servo,youprofit/servo,jimberlage/servo,g-k/servo,samfoo/servo,anthgur/servo,akosel/servo,dhananjay92/servo,echochamber/servo,emilio/servo,saratang/servo,GyrosOfWar/servo,codemac/servo,michaelwu/servo,rentongzhang/servo,vks/servo,CJ8664/servo,nnethercote/servo,notriddle/servo,aweinstock314/servo,indykish/servo,g-k/servo,splav/servo,dvberkel/servo,rixrix/servo,owaspjocur/servo,zentner-kyle/servo,dsandeephegde/servo,nerith/servo,pyfisch/servo,RenaudParis/servo,jgraham/servo,echochamber/servo,AnthonyBroadCrawford/servo,ConnorGBrewster/servo,walac/servo,nnethercote/servo,pyecs/servo,dati91/servo,youprofit/servo,SimonSapin/servo,DominoTree/servo,wartman4404/servo,runarberg/servo,luniv/servo,ryancanhelpyou/servo,meh/servo,seanmonstar/servo,splav/servo,nerith/servo,dmarcos/servo,AnthonyBroadCrawford/servo,rentongzhang/servo,jdramani/servo,deokjinkim/servo,KiChjang/servo,karlito40/servo,Aalhad/CanvasRenderingContext2DMozilla,runarberg/servo,meh/servo,dsandeephegde/servo,avadacatavra/servo,tschneidereit/servo,mbrubeck/servo,owaspjocur/servo,nerith/servo,dvberkel/servo,peterjoel/servo,GreenRecycleBin/servo,pgonda/servo,samfoo/servo,rnestler/servo,mdibaiee/servo,aweinstock314/servo,karlito40/servo,fiji-flo/servo,vks/servo,RenaudParis/servo,huonw/servo,bjwbell/servo,jdramani/servo,codemac/servo,zhangjunlei26/servo,deokjinkim/servo,larsbergstrom/servo,brson/servo,wartman4404/servo,jimberlage/servo,shrenikgala/servo,tafia/servo,sadmansk/servo,thiagopnts/servo,indykish/servo,jimberlage/servo,tafia/servo,froydnj/servo,mdibaiee/servo,wpgallih/servo,mukilan/servo,bjwbell/servo,jgraham/servo,Aalhad/CanvasRenderingContext2DMozilla,steveklabnik/servo,tafia/servo,echochamber/servo,jimberlage/servo,Adenilson/prototype-viewing-distance,dvberkel/servo,metajack/servo,dmarcos/servo,A-deLuna/servo,evilpie/servo,evilpie/servo,fiji-flo/servo,jdramani/servo,ruud-v-a/servo,dsandeephegde/servo,echochamber/servo,michaelwu/servo,AnthonyBroadCrawford/servo,mdibaiee/servo,wartman4404/servo,dagnir/servo,upsuper/servo,sadmansk/servo,codemac/servo,larsbergstrom/servo,seanmonstar/servo,mbrubeck/servo,bjwbell/servo,RenaudParis/servo,notriddle/servo,szeged/servo,bfrohs/servo,rixrix/servo,s142857/servo,emilio/servo,upsuper/servo,emilio/servo,pyfisch/servo,jdramani/servo,mt2d2/servo,pyecs/servo,zentner-kyle/servo,RenaudParis/servo,pcwalton/servo,Adenilson/prototype-viewing-distance,jlegendary/servo,runarberg/servo,notriddle/servo,caldwell/servo,j3parker/servo,thiagopnts/servo,WriterOfAlicrow/servo,wpgallih/servo