This patch properly implements handling continuations. This is now possible because MIT kerberos allows exporting partially established contexts.
However it does not (yet ?) allow inquiring a partially established context, so we need to handle the case where inquiring fails.
Also make sure GSS_S_CONTINUE_NEEDED is not lost both in the init and accept cases.
Found by testing libssh, tested and working.
Simo.