Sean Curran, the Secret Service agent who protected Donald Trump during a gunman's attack at a Pennsylvania rally, has been appointed as the agency's new director.