Check the realhost and the IP in addition to the displayed host for ban matching

Makes bans better (i.e. not the easiest ever to evade).