improved rc_check_dtls()
simplified rc_new()
removed rc_mksid
removed unused variable from main structure