use tcp socket to exchange message between QT-frontend and Go-backend