In a heavy saucepan, combine cocoa and sugars. Add next 3 ingredients and stir over medium heat until mixture begins to boil. Boil 1 minute, stirring constantly. Remove from heat and stir in vanilla. Cool.
Store in a covered container in refrigerator. Serve warm or at room temperature.