Fix issue 22: bug in parsing icmp header.

Reported by txgbuaa.