needed for macos to not auto-resolve localhost as IPv6 in Mavericks