pcap multi v4.5

Replaces #1043

Fixes atomics declaration on older systems.