making the proxy with NTLM and kerberos work (for grizzly provider) 

handling the proxy's NTLM auth, using NTLMEngine to generate required tokens.
detecting first, second level of handshakes and generating appropriate message types

for kerberos, using java's GSSManager