reuse-addr for all open ports, don't use a global variable for sockopt