Fix setsockopt() with SO_REUSEADDR not working due to wrong argument type