Implemented review comments to support negotiate auth and ssl