Updated with more protection for SYN-flood etc.