Merge changes I502575d5,I944df3a9

* changes:
  Invalidate dst caches when changing network permissions.
  Don't allow seamless handover to networks requiring permissions.