set SO_REUSEADDR properly