MariaDB: merge pool headers

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: minor header refactors

Signed-off-by: swpd <swpdtz@gmail.com>
MariaDB: move connection stage handlers to new module async

Signed-off-by: swpd <swpdtz@gmail.com>