Melt butter in large, heavy pot over medium-high heat. Sweat onions, and stir in the flour until incorporated. Gradually whisk in the stock.
Add the broccoli and bring to a simmer. Cook for 20 minutes. Finish with cream. Roughly puree with an immersion blender and season, to taste, with salt and pepper.