Add an auto class for net::Init().

Fixes http::Client destructing after net::Shutdown(), calling freeaddrinfo() too late.

-[Unknown]