new method setUserAgent(String userAgent)

Added a functionality that allows the application to set its own custom
User-Agent.