Fix major bugs in ARP and ICMP