fdprintf
fdprintf(s, "GET %s HTTP/1.0\r\n", page);
fdprintf(s, "%s\r\n", headers[i]);
fdprintf(s, "Host: %s\r\n\r\n", host);