BitTorrent Decoder in PHP