Fix option parsing and pcap dump condition
Fix option parsing and pcap dump condition

lcheylus/haka,LubyRuffy/haka,LubyRuffy/haka,Wingless-Archangel/haka,nabilbendafi/haka,nabilbendafi/haka,Wingless-Archangel/haka,haka-security/haka,haka-security/haka,lcheylus/haka,haka-security/haka,lcheylus/haka,nabilbendafi/haka