Refactor: liblrmd: Rename do_handshake to do_api_handshake.
There are multiple kinds of handshakes taking place, and the names don't make it obvious what is happening. Rename this variable for clarity.