mod_base: Make sure no messages are left in the request process's mailbox. Fixes #676
mod_base: Limit the number of websocket reconnects. Fixes #675