Is there enough sticking out to solder to? A solder joint and heat-shrink tube will work, and you do not need much wire sticking out to do it.

I thought those Boaphiles allowed the cord to move in and out. I guess not.