Shouldn't these be a) asserts, and b) not check args.Length()? sc can be deeply invalid in the call to new TLSCallbacks() below.