Set user agent via commandline

Support for setting user-agent in runtime