WL#7947: Service for server sessions

Affects: Server-5.7   —   Status: Complete

For daemon plugins, but not also limited to them, there is a need for a service
that will make it possible to execute SQL in a OS thread.