Add Remote ICMP support

Add remote ICMP support
Check for err.