The man, charged with spying for China, said he was "unprofessional" to send "gossiping" texts to a friend.