Add regression test for IpSpoofAttackError issue

See #10780
Merge pull request #12123 from aredondo/master

Add regression test for IpSpoofAttackError issue

Closes #10780