This problem raises some questions:

Is it ok for a country to spy on other countries - friend or foe - as it pleases?
It is only illegal when the US spies on its citizens without a warrant. This is nothing new. We have been spying on our friends for years and they do the same to us, some we know of and some we don't.

Is it a threat to democracy?
This is a threat when the gov spies on its citizens as a form of repression and control. But when your gov gets to that point is it still a democracy?

Is it time for the countries to make their own IT net?
Most of the net runs through US servers, so if they did that they would have to start from scratch.

Should the UN over guidelines for spying, and be equipped to see that they are followed?
The UN is a joke and a waste of our tax dollars.