Add detection of rpcap support in libpcap and use it if available.