c bencode parser