Optimize mutually exclusive executions of methods in PcapHandle and PcapDumper.
Fixed a bug in PcapHandle#listDatalinks().