looping HTTP Location: following with --max-redirs