Allow passing in user agent to Client
Merge branch 'pass_in_user_agent'