Useragent handler.