Merge pull request #1 from JensTimmerman/master

fix AttributeError: 'Client' object has no attribute 'username'
set user-agent when not authenticated
Merge pull request #1 from JensTimmerman/patch-1

Patch 1