Data line protection against lightning and variable line conditions