Setting for browser user agent

Fixes #608