Add configurable firewall, fixes #27