Add sugar to cocktail shaker and pour in the hot espresso.
Stir until the sugar dissolves.
Add liqueur.
Add ice to fill cocktail shaker ½ full.
Add cover and shake vigorously for at least 30 seconds or until drink is frothy.
Strain drink into a martini glass.
Garnish with tiny amount of cocoa powder if desired.