Add user-agent header when making API calls

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//557303002