Mitigating Distributed Denial of Service Attacks: Detection and Response