if the changes you make fit with the existing code, do please PR them back :)
the problem of proxying auth to paid relays tho, as i mentioned, probably the best solution for that is a http proxy interceptor that captures auth messages destined for outside and then once it has an authed socket it can fetch on that channel as well.
it's complex stuff tho, advanced network programming. i totally want this too, have done for at least a year now, but it's complicated to implement. same with the thing you are saying about internet connection monitoring. this requires some glue into system services like network connection lists and a ping/bandwidth monitoring tool to dial back the activity when it disconnects or is on a thin/metered connection.
whatever you manage to do tho, if you think it can fit with the existing repo, PR it back when you have it working, and i'll merge up ASAP.
i'm not an ambitious man, but i guess i could say that i want orly to be the new strfry. and then, ideally, to have a whole business model around using this tech so that i can pay devs to improve and maintain it and build out auxilliary services. that would be rad. low key.