Allow cancelling an active download

by exposing a cancel() method in the Stream class