This series of patch refactor the code of userspace CT, which makes the code more simple and more structured. We mainly refactor the code path for NAT and ALG, using conn_flags instead of bool value and use a light weight lock to reduce the size of the conn. The size of conn has been reduced from 312 to 240 bytes.