Update BeQt; improve Connection class