Added lazy initialization for user agent.
Merge pull request #104 from tkrajacic/master

Added lazy initialization for user agent.