I have changed a number of these over the years due to corrision in the socket, it quite a common problem, I think the idea behind the switch in the socket in the first place was to save having the rear fogs on the car and the trailer/caravan at the same time, the switch isolates the fogs on the car once the towing plug is plugged in, there is no need to have rear fogs on the car if the caravan hides them, and you don't get the glare reflected back from the caravan either, and there is less load on the wiring.