Fix BitTorrent parser