Learning to control a structured-prediction decoder for detection of HTTP-layer DDoS attackers