This complements commit dadb0622 which moved responsability for setting the user agent to the client application.