add icmp handler
Merge pull request #1 from ewanhou/master

add icmp handler