Use libpcap instead of RAW sockets

Theoretically it should provide better performance and compatimility