Avoid errors in strict mode
In some cases the user_agent is missing.

In some cases the user_agent is missing, for example by webservices
Merge pull request #3 from reinos/master

Avoid errors in strict mode