change tcp conn to TcpBufConn. part (1/2)