Setting resolver and HTTP client on instantiation