Realization principes of BitTorrent protocol for study