Disallow invalid proxy address in preferences, fixes #97