Add setsocketopt SO_REUSERADDR in socket server