set User-Agent from original request if can
Merge branch 'issue-7' into develop