Adds cancelHttpRequest() method to Net