Stung by Afghan debacle, EU forges ahead with security plans