Peel and dice 1 medium yellow onion, 2 medium carrots and 2 celery stalks into small, even pieces, about 1/4 inch. Mince 3 cloves of garlic and, if using, seed and dice 1 jalapeno. Shred 8 ounces of sharp cheddar cheese and 4 ounces of Gruyere cheese from the block and set aside at room temperature for 10 minutes.
Melt 4 tablespoons of unsalted butter in a large Dutch oven or heavy pot over medium heat. Add the onion, carrots, celery and jalapeno, if using, and cook, stirring often, for 6 to 8 minutes, until softened. Stir in the garlic and cook 1 minute more, until fragrant. Sprinkle 1/3 cup of all-purpose flour over the vegetables and stir constantly for 2 minutes, until the flour smells toasty and coats everything in a thick paste.
Pour in 1 bottle (12 ounces) of brown ale a little at a time, whisking constantly so no lumps form. Whisk in 3 cups of chicken broth and 1 cup of whole milk. Bring to a gentle simmer and cook for 5 minutes.
Stir in 1 tablespoon of Dijon mustard, 2 teaspoons of Worcestershire sauce, 1 teaspoon of dry mustard, 1/2 teaspoon of paprika, 1 teaspoon of kosher salt, 1/2 teaspoon of freshly ground black pepper and 1/4 teaspoon of cayenne pepper. Reduce the heat to low and simmer gently for 15 minutes, stirring now and then, until the soup has thickened slightly and the vegetables are completely tender.
Pull the pot completely off the burner and let it sit for 2 minutes, until the surface is steaming but still, with no bubbles breaking. Add the shredded cheddar and Gruyere a small handful at a time, stirring constantly, waiting until each handful has fully melted before adding the next. Do not put the pot back on the heat.
Ladle the soup into warm bowls. Top each bowl with crumbled bacon, if using, a pinch of extra shredded cheddar and sliced green onions. Serve right away with a soft pretzel or crusty bread for dunking.