Heat the oven to 425°F. Butter two 6-ounce ramekins, dust with cocoa, and tap out the excess.
Put the butter and chocolate in a heatproof bowl set over barely simmering water (or microwave in 20-second bursts) and stir until melted and smooth. Cool 5 minutes.
Whisk the eggs, sugar, vanilla and salt in a medium bowl for about 1 minute, until pale and slightly thickened.
Whisk in the chocolate mixture, then fold in the flour with a spatula just until no streaks remain; do not overmix.
Divide the batter between the ramekins, about 1/2 cup each, and bake 10-12 minutes, until the edges are set and the centers still jiggle.
Rest 1 minute, run a thin knife around the edges, invert onto plates and dust with cocoa. Serve right away.