[web] switch to built in http(s) methods on linux, from curl - and fix dns resolution when the uri.host includes the port.