New implementation with Qt socket in progress.