Add a new API function mhRunServerLoopCompleteRequests, which loops until
the server has read one or multiple requests completely, or after a delay.