Improve sanity checking, error handling; Allow for user specified HTTP headers.
Merge branch 'master' of https://github.com/mazira/digitize.js