fix NAT download bugs
fix bug: pause失效, 吞掉Incomplete BSON buffer错误
现在每次下载完一个块都会更新parts_left表
操作parts_left表时增加输出
fix bug: BSON undefined
修正了parts_left的遗留代码
如果是无法穿透的组合直接就不尝试了
fix bug: 在updateDownloadState中使用TOTAL_PARTS
send complete msg when exiting
uploader clear last socket with same pool
add downloadSpeed in UDP download
main.js modify with master
add output when clear old upload client
add timestamp to uploader client_id,possibly fix resume downloading bug.
fix bug: client_id->cid