Add support for custom user agent string