More flexible bootstrap.
Remove support for forking.
Fix dispatching.
Correctly pass logger to client.