implement offline ipbans by caching the last 3 used ips into redis fixes #3