Merge pull request #5 from J-d-H/master

Improved github error handling + Conditional Requests