SEC and Ripple Near Settlement Amid Legal Complexities