clear /etc/resolv.conf cache on posix systems when reattempting connection

see https://github.com/fritzy/SleekXMPP/issues/298