In a saucepan, combine sugar, cornstarch and salt. Gradually stir in milk and cream; bring to a boil over medium heat. Cook and stir for 2 minutes. Remove from the heat; stir in peanut butter and vanilla until smooth. Pour into serving dishes; refrigerate. Garnish with whipped cream if desired.