Modified NetworkClient so that fetchPage returns a HttpResponse object.