Bodiam Castle rises from its broad moat in the East Sussex countryside like a textbook illustration of medieval England.