TNSession This is a custom implementation of URLSessionDelegate, used to handle certification pinning request receivedData uploadProgressCallback completedCallback failureCallback inputStream init(with:uploadProgressCallback:completedCallback:failureCallback:) urlSession(_:didReceive:completionHandler:) urlSession(_:task:didCompleteWithError:) urlSession(_:dataTask:didReceive:) urlSession(_:task:needNewBodyStream:)