tcpSocket clean headers