Fixed TCP problems