Client library embedded into iframe, additional features

Client library embedded into iframe for those who doesn't want to depend on external services.
Ability to stop accepting new connections for graceful shutdown.