Bugfix: Set any listening sockets to close-on-exec/non-inheritable to avoid issues rebinding them on restart
Merge commit 'e6afb01' into bfgminer-3.5.x