CAPoW: Context-Aware AI-Assisted Proof of Work based DDoS Defense