Fix user agent setting
Merge pull request #22 from sbailliez/master

Fix invalid user agent setting found by glancing over the code