[FIX] core: werkzeug 0.12 compatibility
[FIX] core: werkzeug 0.12 compatibility

Since werkzeug 0.12, the `BaseWSGIServer.__init__` method expect the
socket to be bound to determine the effective port it listen to [1].
Stop pretend to bind the socket and close it directly after use.

[1] see pallets/werkzeug@1fc28cbb30799bf6a09d998aa33f489c5e5a1a71

spadae22/odoo,tvibliani/odoo,funkring/fdoo,datenbetrieb/odoo,Nowheresly/odoo,spadae22/odoo,vnsofthe/odoo,tvibliani/odoo,ygol/odoo,datenbetrieb/odoo,CatsAndDogsbvba/odoo,diagramsoftware/odoo,Nowheresly/odoo,glovebx/odoo,Nowheresly/odoo,glovebx/odoo,odootr/odoo,NeovaHealth/odoo,datenbetrieb/odoo,NeovaHealth/odoo,tvibliani/odoo,ygol/odoo,vnsofthe/odoo,tvibliani/odoo,odootr/odoo,odootr/odoo,spadae22/odoo,CatsAndDogsbvba/odoo,ygol/odoo,odootr/odoo,OpenUpgrade/OpenUpgrade,funkring/fdoo,funkring/fdoo,OpenUpgrade/OpenUpgrade,vnsofthe/odoo,synconics/odoo,NeovaHealth/odoo,vnsofthe/odoo,datenbetrieb/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,OpenUpgrade/OpenUpgrade,tvibliani/odoo,tvibliani/odoo,diagramsoftware/odoo,CatsAndDogsbvba/odoo,CatsAndDogsbvba/odoo,synconics/odoo,synconics/odoo,OpenUpgrade/OpenUpgrade,NeovaHealth/odoo,datenbetrieb/odoo,Elico-Corp/odoo_OCB,funkring/fdoo,Nowheresly/odoo,datenbetrieb/odoo,vnsofthe/odoo,OpenUpgrade/OpenUpgrade,spadae22/odoo,glovebx/odoo,Nowheresly/odoo,NeovaHealth/odoo,datenbetrieb/odoo,ygol/odoo,odootr/odoo,funkring/fdoo,ygol/odoo,glovebx/odoo,CatsAndDogsbvba/odoo,diagramsoftware/odoo,odootr/odoo,Nowheresly/odoo,glovebx/odoo,Nowheresly/odoo,glovebx/odoo,synconics/odoo,odootr/odoo,vnsofthe/odoo,vnsofthe/odoo,diagramsoftware/odoo,funkring/fdoo,Elico-Corp/odoo_OCB,synconics/odoo,CatsAndDogsbvba/odoo,spadae22/odoo,diagramsoftware/odoo,NeovaHealth/odoo,diagramsoftware/odoo,spadae22/odoo,ygol/odoo,glovebx/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,spadae22/odoo,diagramsoftware/odoo,NeovaHealth/odoo,synconics/odoo,CatsAndDogsbvba/odoo,synconics/odoo,OpenUpgrade/OpenUpgrade,funkring/fdoo,OpenUpgrade/OpenUpgrade,tvibliani/odoo,ygol/odoo