Added support for User-Agent header
Added support for User-Agent header