refactor firewall state to be more useful

allows udp/tcp
allows port
allows source via CIDR
Merge pull request #5 from python/firewall

refactor firewall state to be more useful