http_request: send custom User-Agent; cleanup