Cleanup firewall and load balancer code
More tilde and whitespace
Fixes tests
Styzle
Merge pull request #409 from sudorandom/cleanup

Clean up firewall and load balancer API code