Simple TCP server based on QT (from QT examples)