Fix the handling of ERROR chunks which a lot of error causes.
Fix the handling of ERROR chunks which a lot of error causes.

While there, clean up the code.
Thanks to Felix Weinrank who found the bug by using fuzz-testing
the SCTP userland stack.

sctplab/stream-reset-improved,sctplab/stream-reset-improved