fixed segmentation fault, improved detection of handshakes
fixed segmentation fault, improved detection of handshakes

ZerBea/hcxtools,RealEnder/hcxtools,ZerBea/hcxtools,RealEnder/hcxtools,RealEnder/hcxtools,ZerBea/hcxtools