Host whitelist/blacklist, re #316