Female header with common pins?
For a cheap solution, I would cut one lead off of a resistor, then lay it across all of the pins in your female-male header.  Then solder the lead to each pin.  In the following image, the green line represents the lead, and the red ellipses are the soldering points.