Federer saves three match points to win the Laver Cup