Made NetworkConfig.setReuseAddress configurable through XML

Will make forward port to master when this PR is merged