Make requests cancelable
Merge pull request #29 from codemix/add-onbeforerequest

Make requests cancelable