In one of the closest finishes in race history Wild Oats XI takes line honours, subject to protest.