changed get_address by get_ip_address to take to parameters, interface name and protocol family.
Added config parameter httpif: httpd interface name. This parameter takes precedence over httpaddr.
Fixed server to read httpif parameter from settings file and change behaviour accordingly.