Peer-to-peer Data Transfer in Resource Constrained Environments