Enable more granular control over IP whitelisting. Fixes issue #1.