Ratchet with route, SSL and OriginsCheck
I already configured the ratchet to use SSL with ReatPHP and OriginsCheck and saw that it is possible to work routes.
Only in the examples says to use the Ratchet \ App, how would this setting be using what I already have?
```php
<?php
use Ratchet\Server\IoServer;
use Ratchet\Http\HttpServer;
use Ratchet\Http\OriginCheck;
use Ratchet\WebSocket\WsServer;
use React\Socket\SecureServer;
use React\Socket\Server;
use React\EventLoop\Factory;

require dirname(__DIR__) . '/vendor/autoload.php';
require __DIR__ . '/Chat.php';

$allowed_origins = array(
    'chat.local',
);

$loop = Factory::create();

$ws = new WsServer(new Chat($loop));
$ws->enableKeepAlive($loop);

$checkOrigin = new OriginCheck($ws, $allowed_origins);

$http = new HttpServer($checkOrigin);
$webSock = new Server('0.0.0.0:8443', $loop);
$socketServer = new SecureServer(
    $webSock,
    $loop,
    [
        'local_cert' => 'C:\xampp2\apache\conf\ssl.crt\server.crt',
        'local_pk' => 'C:\xampp2\apache\conf\ssl.key\server.key',
        'allow_self_signed' => true,
        'verify_peer' => false
     ]
);
$server = new IoServer($http, $socketServer,$loop);
$server->run();
```