How does a nation descended from immigrants treat its own foreigners? The Torah provides us with some guidance - both explicitly, and between the lines.