Merge "Deprecate the old provideConnection and related APIs in WSM and WSS" into main