option for closing server sockets when spawning

If server fd is not closed, it is not possible to restart uwsgi if the
spawned process is still running as it keeps the address/port bound.
Merge pull request #498 from kunkku/close-serverfd

core/socket: close TCP server fd when spawning