I've done this using brass tubing press-fit over the male pins, insulated with heat shrink. Slitting and squeezing the tubing could add some spring tension. This was for a carefully laid-out bench test--I don't recommend it for everyday use.
What's the OD of the male pin? That's the critical dimension for selecting a mating part.