We should construct connection before guessing it's connected. If an error appears during construction, it'll not set connection status to “connected“

We should construct connection before guessing it's connected. If an error appears during construction, it'll not set connection status to “connected“

A case with websockets:

```php
var_dump($this->client->getConnection()->isDisconnected()); // true

try{
  $this->client->connect();
} catch (\Hoa\Socket\Exception $e) {
  // je passe dans le catch parce que j'ai un fail 
  $this->logger->crit(sprintf('Cannot connect to websocket server, error: %s', $e->getMessage()));
}

var_dump($this->client->getConnection()->isDisconnected()); // false
```
Please, remove this empty line.