Added functionality to generate ICMP packets and send ICMP echo reply

Supported ICMP type: 0, 3, 11.