Gradually mix enough half-and-half into the cocoa powder to dissolve it and make a smooth paste. Stir in the remaining half-and-half and the espresso. Bring to the scalding point with the vanilla bean halves, if using.
Chop the chocolate into small pieces. Remove the cream mixture from the heat, add the chopped chocolate, and stir until completely melted.