Fix more CPPCheck warnings
Add basic CTM DDoS detection with referer support
Add CTM2HUB reply to client on DDoS detection