I don't have any experience with welding, but I have done some brazing....maybe the best way to do it would be to put a bunch of PC7 all over the largest cog and the hub flange. That way nothing would unscrew when backpedalling. PC7's pretty strong stuff...I used it to mount the drive sprocket to the wheel of an electric scooter I built.