A Framework for Network Location-Aware Node Selection