DefaultClient: Extracted duplicated code into a method.
DefaultClient: Extracted user agent string to private member.
Merge pull request #25 from slovdahl/master

Cleanups in DefaultClient