Implement ss_make_descriptor and add descriptorlen to SSState