http: Unlisten sockets after all workers quit
http: Unlisten sockets after all workers quit

This (almost) move only ensures the event base loop doesn't exit before
HTTP worker threads exit. This way events registered by HTTP workers are
processed and not discarded.

pataquets/namecoin-core,Sjors/bitcoin,jnewbery/bitcoin,anditto/bitcoin,qtumproject/qtum,droark/bitcoin,GroestlCoin/bitcoin,GroestlCoin/bitcoin,jtimon/bitcoin,qtumproject/qtum,namecoin/namecore,myriadcoin/myriadcoin,jamesob/bitcoin,jnewbery/bitcoin,ajtowns/bitcoin,alecalve/bitcoin,Xekyo/bitcoin,particl/particl-core,jlopp/statoshi,afk11/bitcoin,bitcoinsSG/bitcoin,n1bor/bitcoin,AkioNak/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,vertcoin/vertcoin,myriadteam/myriadcoin,particl/particl-core,bitcoinsSG/bitcoin,pataquets/namecoin-core,achow101/bitcoin,FeatherCoin/Feathercoin,gjhiggins/vcoincore,bitcoin/bitcoin,AkioNak/bitcoin,namecoin/namecoin-core,jambolo/bitcoin,jamesob/bitcoin,MeshCollider/bitcoin,vertcoin/vertcoin,andreaskern/bitcoin,gjhiggins/vcoincore,ElementsProject/elements,sipsorcery/bitcoin,fanquake/bitcoin,Sjors/bitcoin,myriadcoin/myriadcoin,tecnovert/particl-core,FeatherCoin/Feathercoin,prusnak/bitcoin,jtimon/bitcoin,anditto/bitcoin,gjhiggins/vcoincore,gjhiggins/vcoincore,pataquets/namecoin-core,Xekyo/bitcoin,practicalswift/bitcoin,domob1812/namecore,wellenreiter01/Feathercoin,sstone/bitcoin,prusnak/bitcoin,bitcoinknots/bitcoin,rnicoll/bitcoin,bitcoinknots/bitcoin,vertcoin/vertcoin,alecalve/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,litecoin-project/litecoin,apoelstra/bitcoin,MeshCollider/bitcoin,anditto/bitcoin,ahmedbodi/vertcoin,kallewoof/bitcoin,CryptArc/bitcoin,rnicoll/dogecoin,pstratem/bitcoin,r8921039/bitcoin,practicalswift/bitcoin,jtimon/bitcoin,sstone/bitcoin,afk11/bitcoin,andreaskern/bitcoin,monacoinproject/monacoin,FeatherCoin/Feathercoin,sipsorcery/bitcoin,pataquets/namecoin-core,prusnak/bitcoin,jambolo/bitcoin,sstone/bitcoin,domob1812/bitcoin,domob1812/bitcoin,sstone/bitcoin,Sjors/bitcoin,domob1812/bitcoin,r8921039/bitcoin,namecoin/namecore,EthanHeilman/bitcoin,JeremyRubin/bitcoin,ajtowns/bitcoin,namecoin/namecore,jonasschnelli/bitcoin,bespike/litecoin,monacoinproject/monacoin,untrustbank/litecoin,fanquake/bitcoin,qtumproject/qtum,litecoin-project/litecoin,JeremyRubin/bitcoin,yenliangl/bitcoin,n1bor/bitcoin,kallewoof/bitcoin,EthanHeilman/bitcoin,jlopp/statoshi,namecoin/namecore,practicalswift/bitcoin,myriadteam/myriadcoin,Sjors/bitcoin,EthanHeilman/bitcoin,andreaskern/bitcoin,rnicoll/dogecoin,pstratem/bitcoin,jtimon/bitcoin,mm-s/bitcoin,afk11/bitcoin,FeatherCoin/Feathercoin,GroestlCoin/bitcoin,midnightmagic/bitcoin,sipsorcery/bitcoin,instagibbs/bitcoin,anditto/bitcoin,litecoin-project/litecoin,qtumproject/qtum,lateminer/bitcoin,ElementsProject/elements,ahmedbodi/vertcoin,particl/particl-core,sstone/bitcoin,JeremyRubin/bitcoin,ElementsProject/elements,pstratem/bitcoin,pataquets/namecoin-core,gjhiggins/vcoincore,afk11/bitcoin,lateminer/bitcoin,rnicoll/dogecoin,mm-s/bitcoin,peercoin/peercoin,bitcoin/bitcoin,midnightmagic/bitcoin,mitchellcash/bitcoin,dscotese/bitcoin,monacoinproject/monacoin,vertcoin/vertcoin,alecalve/bitcoin,bitcoinsSG/bitcoin,r8921039/bitcoin,rnicoll/bitcoin,prusnak/bitcoin,jlopp/statoshi,n1bor/bitcoin,jamesob/bitcoin,alecalve/bitcoin,OmniLayer/omnicore,monacoinproject/monacoin,myriadcoin/myriadcoin,kallewoof/bitcoin,cdecker/bitcoin,qtumproject/qtum,fujicoin/fujicoin,bitcoinknots/bitcoin,dscotese/bitcoin,EthanHeilman/bitcoin,andreaskern/bitcoin,nikkitan/bitcoin,fanquake/bitcoin,untrustbank/litecoin,particl/particl-core,qtumproject/qtum,mitchellcash/bitcoin,jonasschnelli/bitcoin,namecoin/namecoin-core,fanquake/bitcoin,achow101/bitcoin,lateminer/bitcoin,apoelstra/bitcoin,fujicoin/fujicoin,AkioNak/bitcoin,namecoin/namecoin-core,MeshCollider/bitcoin,jambolo/bitcoin,jlopp/statoshi,alecalve/bitcoin,dscotese/bitcoin,jonasschnelli/bitcoin,yenliangl/bitcoin,pataquets/namecoin-core,myriadcoin/myriadcoin,achow101/bitcoin,wellenreiter01/Feathercoin,apoelstra/bitcoin,r8921039/bitcoin,CryptArc/bitcoin,Sjors/bitcoin,instagibbs/bitcoin,myriadteam/myriadcoin,FeatherCoin/Feathercoin,GroestlCoin/GroestlCoin,nikkitan/bitcoin,CryptArc/bitcoin,tjps/bitcoin,rnicoll/bitcoin,cdecker/bitcoin,ahmedbodi/vertcoin,namecoin/namecoin-core,instagibbs/bitcoin,instagibbs/bitcoin,pstratem/bitcoin,MarcoFalke/bitcoin,peercoin/peercoin,ajtowns/bitcoin,peercoin/peercoin,peercoin/peercoin,ajtowns/bitcoin,untrustbank/litecoin,vertcoin/vertcoin,myriadcoin/myriadcoin,DigitalPandacoin/pandacoin,rnicoll/bitcoin,alecalve/bitcoin,mm-s/bitcoin,jonasschnelli/bitcoin,domob1812/namecore,jtimon/bitcoin,vertcoin/vertcoin,yenliangl/bitcoin,jamesob/bitcoin,AkioNak/bitcoin,mruddy/bitcoin,practicalswift/bitcoin,n1bor/bitcoin,bespike/litecoin,tecnovert/particl-core,wellenreiter01/Feathercoin,jnewbery/bitcoin,jamesob/bitcoin,andreaskern/bitcoin,domob1812/namecore,rnicoll/dogecoin,MeshCollider/bitcoin,mm-s/bitcoin,kallewoof/bitcoin,jlopp/statoshi,myriadcoin/myriadcoin,namecoin/namecoin-core,droark/bitcoin,ElementsProject/elements,bitcoinsSG/bitcoin,yenliangl/bitcoin,apoelstra/bitcoin,litecoin-project/litecoin,ElementsProject/elements,dscotese/bitcoin,DigitalPandacoin/pandacoin,fujicoin/fujicoin,MarcoFalke/bitcoin,midnightmagic/bitcoin,JeremyRubin/bitcoin,ajtowns/bitcoin,practicalswift/bitcoin,n1bor/bitcoin,droark/bitcoin,mruddy/bitcoin,DigitalPandacoin/pandacoin,FeatherCoin/Feathercoin,achow101/bitcoin,midnightmagic/bitcoin,domob1812/namecore,peercoin/peercoin,untrustbank/litecoin,myriadteam/myriadcoin,domob1812/namecore,peercoin/peercoin,tjps/bitcoin,sipsorcery/bitcoin,namecoin/namecore,sipsorcery/bitcoin,mruddy/bitcoin,tjps/bitcoin,CryptArc/bitcoin,mm-s/bitcoin,cdecker/bitcoin,tecnovert/particl-core,domob1812/bitcoin,tjps/bitcoin,jambolo/bitcoin,nikkitan/bitcoin,Xekyo/bitcoin,fanquake/bitcoin,JeremyRubin/bitcoin,wellenreiter01/Feathercoin,jamesob/bitcoin,MeshCollider/bitcoin,mruddy/bitcoin,r8921039/bitcoin,jtimon/bitcoin,myriadteam/myriadcoin,MarcoFalke/bitcoin,EthanHeilman/bitcoin,GroestlCoin/bitcoin,litecoin-project/litecoin,nikkitan/bitcoin,rnicoll/bitcoin,jnewbery/bitcoin,MarcoFalke/bitcoin,nikkitan/bitcoin,CryptArc/bitcoin,bitcoin/bitcoin,OmniLayer/omnicore,namecoin/namecoin-core,rnicoll/bitcoin,qtumproject/qtum,bespike/litecoin,untrustbank/litecoin,myriadteam/myriadcoin,bitcoinknots/bitcoin,sipsorcery/bitcoin,cdecker/bitcoin,untrustbank/litecoin,droark/bitcoin,mitchellcash/bitcoin,mruddy/bitcoin,yenliangl/bitcoin,gjhiggins/vcoincore,n1bor/bitcoin,ahmedbodi/vertcoin,cdecker/bitcoin,litecoin-project/litecoin,MeshCollider/bitcoin,namecoin/namecore,mitchellcash/bitcoin,anditto/bitcoin,ElementsProject/elements,CryptArc/bitcoin,ajtowns/bitcoin,AkioNak/bitcoin,mitchellcash/bitcoin,domob1812/namecore,DigitalPandacoin/pandacoin,kallewoof/bitcoin,JeremyRubin/bitcoin,afk11/bitcoin,kallewoof/bitcoin,DigitalPandacoin/pandacoin,prusnak/bitcoin,domob1812/bitcoin,DigitalPandacoin/pandacoin,jlopp/statoshi,dscotese/bitcoin,bespike/litecoin,bitcoin/bitcoin,anditto/bitcoin,pstratem/bitcoin,GroestlCoin/GroestlCoin,fujicoin/fujicoin,bespike/litecoin,jambolo/bitcoin,droark/bitcoin,instagibbs/bitcoin,monacoinproject/monacoin,fujicoin/fujicoin,GroestlCoin/bitcoin,domob1812/bitcoin,bitcoinknots/bitcoin,mruddy/bitcoin,prusnak/bitcoin,bitcoin/bitcoin,OmniLayer/omnicore,lateminer/bitcoin,OmniLayer/omnicore,particl/particl-core,r8921039/bitcoin,Xekyo/bitcoin,GroestlCoin/GroestlCoin,wellenreiter01/Feathercoin,tecnovert/particl-core,GroestlCoin/GroestlCoin,cdecker/bitcoin,achow101/bitcoin,MarcoFalke/bitcoin,apoelstra/bitcoin,ahmedbodi/vertcoin,ahmedbodi/vertcoin,lateminer/bitcoin,rnicoll/dogecoin,monacoinproject/monacoin,jambolo/bitcoin,yenliangl/bitcoin,tecnovert/particl-core,bespike/litecoin,bitcoinsSG/bitcoin,fanquake/bitcoin,midnightmagic/bitcoin,particl/particl-core,jonasschnelli/bitcoin,EthanHeilman/bitcoin,MarcoFalke/bitcoin,nikkitan/bitcoin,mm-s/bitcoin,afk11/bitcoin,OmniLayer/omnicore,sstone/bitcoin,jnewbery/bitcoin,dscotese/bitcoin,mitchellcash/bitcoin,droark/bitcoin,andreaskern/bitcoin,lateminer/bitcoin,pstratem/bitcoin,bitcoin/bitcoin,tjps/bitcoin,OmniLayer/omnicore,apoelstra/bitcoin,GroestlCoin/GroestlCoin,GroestlCoin/GroestlCoin,Xekyo/bitcoin,midnightmagic/bitcoin,practicalswift/bitcoin,achow101/bitcoin,instagibbs/bitcoin,AkioNak/bitcoin,wellenreiter01/Feathercoin,tjps/bitcoin,GroestlCoin/bitcoin