Added SetDirection function to allow clients to call the set_direction libpcap function