Connection failed on production
Hi, I've got an issue when trying to run ratchet websocket on production (apache2, symfony, webpack, php7.4, ssl). I've got this error message :  "WebSocket connection to 'ws://localhost:3002/?token=xxxx' failed: " I tried many thing but nothing works. However all works well in local development.

Here is my code :

```
<?php

namespace App\Command;
...
class WebsocketServerCommand extends Command
{
    private $em;
    private $mailer;
    protected static $defaultName = "run:websocket-server";

    public function __construct(EntityManagerInterface $em, MailerInterface $mailer)
    {
        $this->em = $em;
        $this->mailer = $mailer;

        parent::__construct();
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $port = 3002;
        $output->writeln("Starting server on port " . $port);
        $server = IoServer::factory(
            new HttpServer(
                new WsServer(
                    new MessageHandler($this->em, $this->mailer)
                )
            ),
            $port
        );
        $server->run();
        return 0;
    }
}
```

`var conn = new WebSocket(`ws://localhost:3002?token=${token}`);`





