Adapt to new socket interface (soc_receive, soc_get_local_lan_name)