Fix criteria merging
Better error handling, set default headers
Better error handling, actually do something with response from update()
Merge pull request #10 from codemix/client-improvements

Client improvements