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

Fixes http::Client destructing after net::Shutdown(),
calling freeaddrinfo() too late.
Merge pull request #143 from unknownbrackets/net-minor

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