decorates InputStream to make it cancelable.
This decorator is helpful if you want to cancel data transfer over your streams.
For example you want to upload data to your web service, which stores data to the database.
For this purpose you can pass and decorate inputStream from the client to the database.
By using cancelable Stream you can control passed InputStrream and if required to cancel passed InputStream.