Added support for specifying User-Agent