IP Port Validator helper class