Fixed tcp message building and sending to host via tcpfileclient.