RHEL support and support to specify hosts/networks allowed to query the daemon

Please check the diffs, also you might want to check if the allow works for Arch Linux (I've only tested it with RHEL).