Can't connect to websocket with wss
I'm having problems adding SSL/WSS support to my app

this is my chat-server.php:

```php
$loop = Factory::create();

$secure_websockets = new Server($loop);
$secure_websockets->listen('8080', '0.0.0.0');
$webSock = new SecureServer($secure_websockets, $loop, [
    'local_cert' => 'path-to-file\server.crt',
    'local_pk' => 'path-to-file\server.key',
    'verify_peer' => false,
    'allow_self_signed' => true
]);

$webServer = new IoServer(
    new HttpServer(
        new WsServer(
            new Chat()
            )
        ),
    $webSock
    );
$loop->run();
```

On client side in javascript I'm trying  to connect to the websocket with this:

`connection = new WebSocket('wss://ip-address:8080');`

I know that ip-address is correct and port is open

On firefox console, I'm getting this error when I try to connect to the websocket:

`error { target: WebSocket, isTrusted: true, srcElement: WebSocket, eventPhase: 0, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, timeStamp: 2213441, type: "error"}`

I'm not sure how to get this working, can someone help me please?