Fixed potential null pointer dereference in tcp.c