Medical researchers have developed a new treatment for protection against accidental exposure to peanut.