Lots of code cleanup in netfilter agent