add support for the APF firewall

APF firewall comes from http://www.rfxn.com/projects/advanced-policy-firewall/ .