http: use resolve_sockaddr so that “localhost” can come from /etc/hosts
http: use resolve_sockaddr so that “localhost” can come from /etc/hosts

Before, the configured DNS server needed to provide a record for
localhost, which many don’t do (OpenWrt does, but other popular
embedded devices don’t).

kanla/kanla,kanla/kanla,florianjacob/kanla,florianjacob/kanla