Updated behaviour of EmulatorDriver to work better with QTcpSockets