Edward Jenner is credited with inventing the vaccine but his method was pioneered by a Dorset farmer.