Title: A framework for network-aware applications