Fix TRACE bug and new UDP socket code issue.