public bool Handle(string protocol, System.IO.Stream stream)
        {
            if (_handle != null)
            {
                return(_handle.Invoke(protocol, stream));
            }

            if (_asyncHandle != null)
            {
                return
                    (_asyncHandle.Invoke(protocol, stream, CancellationToken.None)
                     .ConfigureAwait(true)
                     .GetAwaiter()
                     .GetResult());
            }

            return(false);
        }