Fixed possible rejection of proper IP addresses by client