An Agent-Based Network-Aware Approach to Grid Resource Scheduling