Make QR code network aware

[fixes #157]