I'm having trouble with people flooding my java app with connections, and right now I have it so that if an IP opens more then 2 connections at once with it, it adds it to a "bad connections" array...