netlink: recover from netlink event socket errors

Reopen netlink event socket on errors and  make the buffer sizes configurable.