Maybe a cross with some silicone moulding?

I think the main issue with a leg prosthesis (and boy would I be keen to help) is the size as you said, but considering the weight and torque strength...