MaxMind library renamed, add IP check