Refactor: liblrmd: Add process_lrmd_handshake_reply.
This splits handling the hello reply out into its own function so it can be called from multiple places in the future.