check_config is now a bool
check_config is now bool
Use sock context for allocating packets

So they get free'd correctly when we exit
Clean up counters when we close the socket