Support HTTP request cancelation

Fixes #74