Include user agent
Merge branch 'master' into 1.1.x