[netwerk] use pref cache interface to make things easier
[netwerk] enable foreign keys in sqlite
[netwerk] MOAR ASSERTIONS