Update user-agent
Update version to 0.5.2
Merge branch 'rel-0.5.2' into stable
Merge branch 'stable'