Surge protection for measurement and control technology