Allow to set listening interface.

Add an optional "host" confiiguration key to specify the listening interface.
For backward compatibility, if not set, listen on all interfaces.