[embedlite] Update getUserAgentForUriAndTab handler to better support custom UA