Re: This will end ...
I agree that the time for the rugged individualism of IT workers (an oxymoron if ever there was one) is probably at an end. The laws have definitely moved in the direction of favoring profit for the company over worker rights and freedom, and need to be changed. Organizing IT/Tech workers and using the organization to enact local-worker-friendly legislation would help move hiring and retaining locals in the right direction, as long as it made offshoring less attractive than hiring locals.
That said, finding local workers (US in my case, but it's an issue in the EU in places as well - Ireland, for example) is difficult, because in many cases the workers-to-be have decided that tech (or STEM, if you wish) is not where they want their future to be and have hared off to MBA studies or such. Until there is a program in place to get locals trained up to the necessary levels, the friction between the offshore and local workers will remain; it's hard to say you've met your fiduciary responsibility to shareholders if locals cost you twice or three times what the offshored work does. Especially if you can hide the screwed up results of offshoring or hiring unqualified but cheap workers behind reorgs/rebuilds for years.
How about this? Keep the H1B/L1 programs in place, but for every worker hired that way the hiring company must fund a training program for locals (standards and length to be set by an independent organization) and graduate (not just start training) at least one worker. Details to be worked out, but the local should get a minimum wage while in the training and be given some preferred interview placement once graduated successfully. The companies don't necessarily have to replace the H1B head with the local, but they must at least interview the local for the jobs the H1B workers are being considered for. Tax breaks for all, of course, to make the programs at least marginally acceptable to corporations and politicos.
I don't like the idea of completely cutting the H1B programs, because I have worked with some very good, very smart people who got here that way, and I think it's very worthwhile to keep that door open. But I also think that offshoring should be discouraged as much as possible; companies say the local talent isn't there, let's grow the pool.