added missing User-Agents

header "User-Agent" was missed
always use a user-agent constant

Some providers block connections with missing user-agents. Also
user-agents are useful for analyzing requests. I've added a USER_AGENT
constant that is used in cURL and in file_get_contents.
Merge pull request #10790 from cbhp/master

added missing User-Agents