epcap: use pcap_loop

Simplify by using the callback version of pcap_next. Only send the
process the {epcap, eof} tuple if a file was used. Since EOF only occurs
when the port exits, this should probably be moved to the 'EXIT' info
handler in the future.