Why Your Smart Home Is Only as Good as Its Network