Called when connection is established
void onConnected(Listener callback) { _onConnected = callback; }