Allow configuration of listening IP address, allowed hosts etc.

This is needed to connect to spamd from other hosts (e.g. spamc connecting to spamd running on a separate machine). Add some support for some additional command line options.