removed set connected to YES on connect

Removed the `self.connected = YES;` from the `connectWithCompletionHandler` method, this property will be set by the `on_connect` method. It makes sense to only be set when a successful connection with the server is established and not before.