Expose tls_init_ctx()
Preliminary support for trust router code
Add realm_pool_free() which garbage collects the pools.

So that the server doesn't crash