public function __construct()
{
// set the default SSL options
$this->setParam(SslOptionKeys::VERIFY_PEER, 'boolean', false);
$this->setParam(SslOptionKeys::VERIFY_PEER_NAME, 'boolean', false);
$this->setParam(SslOptionKeys::ALLOW_SELF_SIGNED, 'boolean', true);
$this->setParam(SslOptionKeys::DISABLE_COMPRESSION, 'boolean', true);
$this->setParam(SslOptionKeys::HONOR_CIPHER_ORDER, 'boolean', false);
$this->setParam(SslOptionKeys::SINGLE_ECDH_USE, 'boolean', false);
$this->setParam(SslOptionKeys::SINGLE_DH_USE, 'boolean', false);
$this->setParam(SslOptionKeys::CIPHERS, 'string', 'DEFAULT');
}