Just finished working on this biped rig. Admittedly I learned it from the brilliant folks at pluralsight.com, but this is the version I developed from their lead. Hope it benefits you on your next project, as we all know setting up a rig can be an "experience".

Note: It even comes with a few Xpresso controls in the fingers and feet (mesh model not included).