Handle case where XFF is a list