Integration tests should use v4 localhost
Only create assets map on demand
Use a monitor process to handle panics and restarts (fixes #586)