In a medium saucepan, whisk together sugar, starch, and salt. Add the eggs, one at a time, whisking until smooth and no pockets of sugar-starch remain before adding the next. Whisk in vanilla bean paste, if using, and then, very gradually, whisking the whole time, pour in milk. Bring mixture to a simmer over medium heat, whisking the whole time. As the custard begins to bubble, it will thicken. Simmer for one minute, whisking. Remove from heat and stir in the butter until it is fully melted, then the rum (if using) and vanilla extract. If you want your custard extra silky-smooth, pour the custard through a fine-mesh sieve before continuing, but I never do.