pub trait Resolver: Send + Sync { fn resolve(&self, netloc: &str) -> IoResult<Vec<SocketAddr>>; }
A custom resolver to override the default DNS behavior.