An Enhanced Firewall Scheme for Dynamic and Adaptive Containment of Emerging Security Threats