IP validation in server