only log ssl errors when they happen on the uplink socket