Add bootstrap.
Defer connection.
Improve chat example, now with working authorization and chat log.