Combine sugar and cocoa in a small saucepan; stir in milk and butter. Bring to a boil over medium heat, stirring constantly. Cook 3 minutes, stirring constantly. Remove from heat; stir in chocolate and vanilla, stirring until chocolate melts. Serve warm or let stand 10 minutes to thicken.