prototyping some simple ddos protection
simplified ddos protection code a bit
meh, back to struct, we'll need to store more data later
explained ddos protection a bit, and some minor fixes