add parameters to handle TLS cipher suite and switch default Diffie-Hellman usage to true

Edited by Fabien Combernous