renamed postProcessDataDir and simplyfied is_remote_address