DNS: free TX events using proper function
Change ParseSize api to not leak memory and only setup pcre once.
Properly cleanup NSS ctx
profiling: don't alloc 0 bytes block if no rules are used
profiling: properly clean up thread local memory.
mpm: clean up stream thread ctx