Used ttorrent lib with some bugfixes.