WL#11381: Add asynchronous support into the mysql protocol

Affects: Server-8.0   —   Status: Complete

C APIs are synchronous, which means client sends a request and waits until server
responds. This makes applications to not do anything until server sends a 
response. There can be a requirement where client is not bothered about when
server sends data back, client can submit a query, do some other tasks and when
in need of server response, client can check if server has sent the response and 
act accordingly. Thus making a need to implement asynchronous communication 
between client and server.

use case:
There can be a PHP script which can submit multiple queries from multiple
connections and return immediately without waiting for the results. Later it
can poll on results from all the connections to get the results and do further
processing on fetched data.