dot-fn_set_useragent function

Set user agent