Added checks against the punitive model for bans when the client connects. Added a few tests for the punitive model.