Allow specifying listen IP address in configuration

Currently there is no way to specify an IP address to listen to, 0.0.0.0 which is default is not always suitable.
This simple patch fixes the issue.