wrapUnlessCancellationException

Wraps this Throwable as an MdocTransportException unless it's a CancellationException.