Set user agent header when issuing requests to github

Seems github changed their API so that you have to pass the user agent now. This is the change that had to be made to PDF.js to get botio working again.