Basic Bittorrent implementation in C.