Improve tcp connection close
Improve tcp connection close

Changed the packet flag check to be more robust.

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