app: swap should update app.Ip from provisioner
io: make FlushingWriter an http.Hijacker

Related to #853.
app: setAppIp action expects a provisioned app