use the exteral delete sec context that will locked the mutex
allow optional q in DH DomainParameters
don't bother seeing q if not sent
update to new versions from master