Implement pcap_offline_filter

Implementing pcap_offline_filter

Test 2 fail. I think the issue lives in some kind of bpf casting.
...
if libpcap.pcap_offline_filter(f, hdr, pkt) ~= 0 then
...
casting f against ' struct bpf_program *fp' could be the issue.