Fix match on iterator

It was failing on second match with blocking iterator
Fix tcp handshake error

An error was reported when sending a ACK after a FIN-ACK. The code would
need to take sequence numbers into account to behave properly.
Update test following tcp handshake fix
Move OUTPUT mapping together
Refactor tcp connection to more generic ip connection
Add udp statefull dissector
Add pointer ref in class instance tostring
Rename cnx table functions
Change next_dissector mechanism

Add a new next_dissector() function on the flow dissector to rely on it
instead of implicit connection. This allow to give ownership of the flow
(thus the send) to the next dissector. As a result, the behavior of the
http dissector (an example of flow dissector) is the same as any other
dissector.
Add next dissector support for udp connection
Improve code

Minor code improvement (indent and merge friendly code)
Fix memory corruption
Fix state machine segfault by adding guard around interrupts run
Fix state machine timeout transitions

When an error occurred during a timeout transition, Haka could end up in
a corrupt state. Now we handle those errors better and will make a
transition to error when an error occurred or finish if an abort have
been raised.
Improve UDP dissector

Improve UDP connection closing.
Use int for stream direction
Cosmetics
Avoid loop for 2 elements
Fix code formating
Add comment