IP filter helper with wildcard support for Codeigniter