add User-Agent & setTimeout methods