fixed max file size, added ddos attack, added rate limit for accepting incoming connectinos to prevent against ddos