I'd have the parts clipped into a 3D printed plastic frame then form bare wire right up to the join on leads and socket pins, no need to solder except fixes. When it's right, coat the wires and box it or just pot it. And while I'm wishing for so much pie, it should be able to connect to surface mount.