Simmer water, brown sugar, molasses, ginger, cinnamon, and cloves for 5 minutes, stirring until slightly thickened.
Remove from heat, stir in vanilla, and cool.
Spoon 1 1/2 tbsp syrup into each mug.
Brew espresso and pour over syrup, stirring to combine.
Steam milk and froth until foamy.
Pour milk over coffee, holding back foam, then top with foam.
Dust with nutmeg and serve, with whipped cream or crushed cookies on top if desired.