I've never plugged a computer directly into a wall socket. Always use a UPC or at least a surge protector
This is mostly pointless. There's an X2 class capacitor across the line in all the power supplies which will eat up any transients before they even get into the primary side.