Still Connecting State
Hi! I'm beginner about this websocket and I'm trying this Ratchet for my first project..

I've done the install tutorial in http://socketo.me by executing this command in command prompt

`composer require cboden/ratchet`

after that, it automatically generates `vendor folder` with a couple of libaries there and on home path a `composer.json` and `composer.lock`

Then I made a `chat.php` file and copied the code from the quick example on this git
Then I execute this command in command prompt: `php chat.php`

I still having error in my client side saying:

Chrome
`Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.`

Firefox
`InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable`

My folderization (on XAMPP):

Client
`htdocs/public/chat/index.php`

Server
`htdocs/public/chatserver/chat.php`
`htdocs/public/chatserver/vendor/<some libraries>`
`htdocs/public/chatserver/composer.json`
`htdocs/public/chatserver/composer.lock`
