其中realm、protocol、port可以通过发送nsurlsession或NSURLConnection,查看NSURLAuthenticationChallenge.protectionSpace.serverTrust获取