now calls http.c instead of DNS lookup.