Researchers have developed a new way to prevent and treat Chlamydia, the most common sexually transmitted bacterial infection in the world.