Move the caller map and its functions from bbusd.c.
New functions for msgbuf access in bbusd.
Add a separate function for the main loop.
bbusd: fixes in client handling
Split client and monitor handling.