I have an interesting problem - sometimes malformed cookies are returned from my web API hosted on AWS (.NET Core 2.2), behind Incapsula WAF and AWS elb. This messes up my .NET framework SDK which throws exception when trying to parse headers complaining about server doing protocol violation (suggestions are usually this: https://weblog.west-wind.com/posts/2007/Mar/29/The-server-committed-a-protocol-violation-with-WebRequest - setting useUnsafeHeaderParsing to true).
In fiddler, I managed to figure out the problem (likely):

Anyone knows where these cookie headers come from? (as you can see some headers are added by AWS/WAF), but they don't seem to be the problem. Important: those __utm* cookies are only set sometimes. Googling it, only points to possible GA cookies, but they seem different (already checked https://www.webtrafficexchange.com/google-analytics-cookies-utma-utmb-utmz)