Also add custom user agent Potentially fix #17 (cherry picked from commit 99fd2731f5d9d374700e89fa67d4d5bf611bbafa)