Characterizing and improving last mile performance using home networking infrastructure