fixing pcap parsing and device detaching
merging
fixes on netif
turn off an interface on which we cannnot listen any more
Merge pull request #13 from crotsos/master

minor bug fixes from the android build and pcap based packet capturing