Fixing some pcap pointers, add some debug stuff

Some useful stuff to fix pcap_stuff