Erlang interface to ICMP sockets