San Francisco Frontiers - Khawaja on cusp of double ton as Australia demoralise Proteas