support socket_fd on icmp messages

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>