[bencoding] Complete base parser realization.