Send a user-agent performing a HTTP request 

Some providers block connections with missing user-agents. Also user-agents are useful for analyzing requests. I've added a user-agent that is used in cURL. (ownCloud uses this 1.8 branch)