badapp.py: Fixes TCP reset unit test.
iostream: Logs spurious events as debug.