change piece_queue in a loop
add http peer support, http peer need CORS..