Fix TCP debugging