Put the custard powder, cocoa, remaining 3 tablespoons of sugar and the milk in a small saucepan over a medium heat. Bring to a simmer, stirring occasionally, and cook for 30 seconds until the mixture thickens. Remove from the heat and allow to cool slightly. Beat in the egg yolks with a wooden spoon and set aside.