makeconf: limit the upper bound for allowed port to 65534

Safari/WebKit: "Not allowed to use restricted network port"