session: reset libresolv in Linux, when laptop roams accross networks

When the client switches from one network to another, "/etc/resolv.conf"
may be updated with new nameservers. But C clients will NOT be updated,
unless they call "res_init()" on libresolv.
session: remove redundant lines