Former US national security adviser Michael Flynn arrives at court