Yield 8 servings
4 tablespoons unsalted butter
3/4 cup chopped yellow onions
1/4 cup chopped, seeded poblano pepper or 1-7oz can diced green chilies
2 teaspoons minced garlic
4 cups frozen white corn kernels, thawed
2 teaspoons chopped fresh thyme leaves
1 1/4 teaspoons salt
1/8 teaspoon cayenne
1/4 cup all-purpose flour
4 large eggs
2 cups heavy cream
1 tablespoon granulated sugar
1/2 teaspoon ground black pepper
1 cup grated Havarti cheese
4 strips bacon, cooked, drained and crumbled
2 tablespoons chopped green onions
Preheat the oven to 350 degrees F. Grease a 2-quart baking dish and set aside.
In a large saucepan, melt the butter over medium-high heat. Add the onions and poblano peppers (or canned chilies if using) and cook, stirring, for 2 minutes. Add the garlic and cook, stirring, for 30 seconds. Add the corn, thyme, 3/4 teaspoon of the salt, and the cayenne, and cook, stirring, until the corn is starting to turn golden, 4 minutes. Add the flour and cook, stirring, for 2 minutes. Remove from the heat and let cool slightly.
Put half of the corn mixture in a food processor with a little of the custard (from next step) and blend until smooth.
For the custard in a large bowl, whisk the eggs, cream, sugar, thyme, remaining 3/4 teaspoon salt, and black pepper until frothy. Add the pureed corn and whole corn mixtures and the cheese, crumbled bacon, and green onions and whisk to combine. Pour into the prepared dish and bake until set and a knife inserted into the center comes out clean, 50 minutes to 1 hour.
Remove from the oven and let rest for 10 minutes before serving.