Refactor: liblrmd: Perform the API handshake asynchronously.
Previous async patches only dealt with the TLS handshake. However,
there's also the API handshake that was performing a blocking read.
This gets rid of that by sending the hello message and then falling back
to the mainloop to wait to read a reply.