Fixed Add workaround for 'undefined method closed?' error caused by ssrf_filter 1.1 (@mshibuya c74579d, #2628) Add workaround for the API change in ssrf_filter 1.1 (@BrianHawley #2629, #2625)