Add ability to provide a Getter function instead of a static array to
the ipfilter middleware