protected function configure(array $options): void
    {
        $options = array_merge([
            'timeout_connect' => self::TIMEOUT_CONNECT,
            'ssl_verify_peer' => false,
            'ssl_allow_self_signed' => true,
        ], $options);

        parent::configure($options);
    }
protected function configure(array $options): void
    {
        $options = array_merge([
            'timeout_connect' => self::TIMEOUT_CONNECT,
            'ssl_verify_peer' => false,
            'ssl_allow_self_signed' => true,
        ], $options);

        parent::configure($options);
    }
protected function configure ( array $ options ) : void { $ options = array_merge ( [ 'timeout_connect' => self :: TIMEOUT_CONNECT , 'ssl_verify_peer' => false , 'ssl_allow_self_signed' => true , ] , $ options ) ; parent :: configure ( $ options ) ; }
Configure the client socket

Options include:

- ssl_verify_peer       => boolean, whether to perform peer verification
of SSL certificate used
- ssl_allow_self_signed => boolean, whether ssl_verify_peer allows
self-signed certs
- timeout_connect       => int, seconds, default 2

@param array $options
Configure the client socket