Squid is a proxy. It seems odd to be causing issues for a webhook. I would recommend talking to your network teams.
Also you upgraded like 4 years of jenkins. I don’t think anyone tests that level of upgrade path. I would recommend looking very carefully though the jenkins upgrade guide.