Simple TCP chat server for learn Qt