In a medium saucepan, combine all the ingredients except the butter. Bring to a boil, stirring to dissolve the sugar. (You may want to have a lid handy to protect yourself and your kitchen from any sputtering.) Reduce the heat and simmer for 25 minutes, stirring occasionally. With a whisk, blend in the butter cubes, a couple at a time, until incorporated.